Hey all,
I have never used PHP before. I know, that's the last thing that a PHP board surfer wants to hear, right?
Well, I am an avid flash user and know my fair share of actionscript. I am making a flash file that will use the time and date as a variable, however I don't want flash to pull that info from the user's computer.
This brings me to PHP.
I am trying to figure out how to get the server's hour, minute, and date figures and write them to a text document. From snooping on this board I have found that this code:
<</I>?php
echo "The date is:";
echo date("H:i, jS F");
?>
Displays this:
The date is:16:30,9th June
(thanks laserlight!)
I figure that I'm halfway there. If anyone could possibly give me a hand here, I would really appreciate it!
-andy