[jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-19 Thread mind01
Thanks for your tips brian and scott. set_time_limit(0); The expected value is integer seconds. A value of 0 disables the time limit altogether. If i try set_time_limit(20); it gives me an 500 error after 20 seconds, but if i set the value to 60 seconds, i still get a server time out after

[jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-19 Thread Scott Sauyet
On Jan 19, 4:44 am, mind01 mindproduction...@gmail.com wrote: If i try set_time_limit(20); it gives me an 500 error after 20 seconds, but if i set the value to 60 seconds, i still get a server time out after 30 seconds. If you're in control of the php.ini file, there is almost certainly a

Re: [jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-19 Thread brian
Whoops. I guess this bit of info from the manual is pertinent: Warning This function has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini. On Tue, Jan 19, 2010 at 4:44 AM, mind01

[jQuery] Re: JQuery and AJAX Heartbeat question

2010-01-18 Thread Scott Sauyet
On Jan 18, 4:25 pm, mind01 mindproduction...@gmail.com wrote: I have a PHP script called zip.php to generate a zip file. This requires more than 30 seconds so my server give me an server error 500 time-out. Can i avoid this 500 error with JQuery and AJAX heartbeat? Probably not. AJAX is just