|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
retrieving & printing time from server???
I'm having somewhat of a dilema in writing a php4 script that can retrieve the time from the server and print it on the clients machine. I also would like to know how I can have it read the clients system time and print it to the client.
here's what I've gotten so far: <?php echo date("h : i : s a"); ?> At the moment it's reading a time that doesn't even come close to reflecting my servers time. I would greatly appreciate any help you could share with me. Last edited by Grafix.Hound : April 27th, 2002 at 03:36 PM. |
|
#3
|
|||
|
|||
|
Thanx for the tip AlCapone.
The reason I wanted it to refresh itself has gone out the door... I'm working on the script for a friend of mine and it appears he wasn't too conerned about whether or not it refreshed or not so it's not all that important now. I'm just left with figuring out how to get it to read the clients time instead of the servers. ![]() |
|
#4
|
||||
|
||||
|
>>get it to read the clients time instead of the servers
use javascript for that. |
|
#5
|
|||
|
|||
|
So Are you suggesting I strictly use JavaScript or in conjuntion with PHP? Actually a better question would be would there be any point to using PHP for this task at all?
Thanx again AlCapone! |
|
#6
|
||||
|
||||
|
You can't get visitor's time with php, so work your way from there.
|
|
#7
|
|||
|
|||
|
Yeah, thanx I came to that conclusion not long after reading your previous post... I just had to let it sink in before it struck me.
I'm slowly coming to understand the principles and limitations behind PHP. For my friends needs all he's going to require is a simple JavaScript. ![]() Thanx a lot for your assistance AlCapone ![]() |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > retrieving & printing time from server??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|