Worked it out...
This would work
<?php
$strDate = date("m-d-y");
$strTime = date("G:i:s");
system ("date $strDate");
system ("time $strTime");
?>
that would do nothing, as it's justing setting to the date as it is anyway
thanks for your input
MW
"Randell D." <yo**************************@yahoo.com> wrote in message
news:u6Leb.2764$pl3.958@pd7tw3no...
"Michael Willcocks" <mi*****@metrogroup.com.au> wrote in message
news:3f***********************@lon-reader.news.telstra.net... Can you tell PHP to set the date on your machine?
Windows 2000 Pro
Apache 1.3 & PHP 4
Thx
Can you use the system() or exec() function on your box? If so, you might
be able to have it open a quick shell and set the time...