Here's code that DOES works:
$filename = "construct.jpg";
if (touch($filename))
{
echo "FILE DATE CHANGED";
}
Here's code that DOES NOT work:
$filename = "construct.jpg";
$time = time();
if (touch($filename,$time))
{
echo "FILE DATE CHANGED";
}
I need to be able to set a filedate to a specific date, but can't even seem to get the above function to work.
Thanks for any help!