View Single Post
Old May 13th, 2006, 4:49 PM   #5
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
Originally Posted by proudnerd
I never thought of doing that, Booooze. How would I do it, though? I just started programming in PHP yesterday so I have no clue.
That's fine, not to worry. Unfortuantley, I have the code at home, but try and get a start on it for now and I'll be happy to help you out with problems later on tonight (Im at work right now, posting on and off, but dont have php).

For a start, figure out how to display the time in PHP. I'd start by simply writing to a text file. Once you have that, get the ability to read it as well, and display it on the page. At the same time, write the current time. At this point you should have 2 times. Then try and compare the too. Unfortunatley I can't remember how to do it, so simply google it, and see what you can come up with. Onc eyou have taht, look up a cookies and sessions tutorial. Then post back. gtg
Booooze is offline   Reply With Quote