|I have some php files I'm using to pull product feeds from my distributor. In order for the update to work properly, I have to submit a Unix time stamp every time I run the php file so I can get stock quantities that have changed every 15 min or whatever I choose. It currently runs from a cron job every 15 min. |
Inside the importproducts.php file, this code gets the data:
$myFeed = 'http://www.*****.com/feeds/productdownload.php?id=**************&version=2&format=xml&fields=sku,qty&time=';
If I don't include a Unix time stamp, I will get everything every time. This I don't want!
So what I am wondering is, can I use some code that would fill in the Unix time stamp after the (&time=?) part before the file actually runs?