I have this test code
Code: Select all
<?php
$date = "01/02/2007 12:00:00";
system('date -s'.escapeshellarg($date));
?>if i run this code from a java app (web service), it outputs
to a debug file, but when i check the date on the machine it has not changed.Tue Jan 2 12:00:00 WET 2007
what i'm missing here?
Thank you.