Ok, I posted an example in the body of this for your time out limits but
here it is again...
At the end of each of your SQL statements for UPDATE or INSERT simply
add ...LIMIT 2000";
That should limit the updating or inserting of database records until
the page is refreshed to add more...
HTH
J
Haseeb Iqbal wrote:
i tried this but to noavail. anyother sugestion really this problem is
really annoying me now
Haseeb
The browser might be timing out. You should regulary send out some dummy
output and flush()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
[snip]
i tried this but to noavail. anyother sugestion really this problem is
really annoying me now
[/snip]
If it is the script timing out place this at the beginning of the
script. (I do this with scripts that update and insert millions of
records)
set_time_limit(0);
See http://www.php.net/set
er 19, 2003 10:23 PM
Subject: Re: [PHP] Re: Script timeout Problem
> Haseeb Iqbal wrote:
> > how can i do that?
> > btw the script runs on a local machine but updates the records on a
> > webserver i mean live server. this is also a factor for the timeout. the
> > script
Haseeb Iqbal wrote:
how can i do that?
btw the script runs on a local machine but updates the records on a
webserver i mean live server. this is also a factor for the timeout. the
script was running smoothly for 24000 recods before but now it suddenly
timeout after 800records. i dont know what is h
how can i do that?
btw the script runs on a local machine but updates the records on a
webserver i mean live server. this is also a factor for the timeout. the
script was running smoothly for 24000 recods before but now it suddenly
timeout after 800records. i dont know what is heppening
Haseeb
---
6 matches
Mail list logo