[PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
I know this is a bit off topic, but does anyone know of a way I can take the server time in php and get it into javascript? here is the code so far for my javascript clock, but it uses the clients time. I either need to replace the Date() function with another, or somehow import php's time. I

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Chris Shiflett
--- Jake McHenry [EMAIL PROTECTED] wrote: I know this is a bit off topic, but does anyone know of a way I can take the server time in php and get it into javascript? Well, that part isn't off-topic, in my opinion. JavaScript and HTML are the exact same thing from the perspective of PHP;

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
- Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 2:14 PM Subject: Re: [PHP] OT - Quick JavaScript Question --- Jake McHenry [EMAIL PROTECTED] wrote: I know this is a bit off topic

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jordan S. Jones
Jake McHenry wrote: I have tried this already, and it works, the JavaScript get's the server's time, but then the JavaScript clock doesn't keep counting, it's stuck at the servers time. It needs that Date() function to keep pulling the time from the local machine I guess. I was wondering if

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Eugene Lee
On Tue, Oct 28, 2003 at 02:27:28PM -0500, Jake McHenry wrote: : Chris Shiflett responded: : --- Jake McHenry [EMAIL PROTECTED] wrote: : : I know this is a bit off topic, but does anyone know of a way I : can take the server time in php and get it into javascript? : : JavaScript and HTML

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
- Original Message - From: Eugene Lee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 2:45 PM Subject: Re: [PHP] OT - Quick JavaScript Question On Tue, Oct 28, 2003 at 02:27:28PM -0500, Jake McHenry wrote: : Chris Shiflett responded: : --- Jake McHenry [EMAIL