Re: Big table dump stopping in between
| From: | Ritesh Nadhani | Date: | Mon, 08 Nov 2004 10:04:28 +0000 |
| Subject: | Re: Big table dump stopping in between | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201510@lists.php.net to get a copy of this message | ||
Hello,
----- Original Message ----- From: "Jason Wong" <php-general@gremlins.biz>
To: <php-general@lists.php.net>
Sent: Monday, November 08, 2004 9:59 PM
Subject: Re: [PHP] Big table dump stopping in between
On Monday 08 November 2004 07:14, Ritesh Nadhani wrote: Please do not top post.I dont know what you mean by that. I just pressed reply all in my outlook.
Sorry for my previous post but I am actually doing set_time_limit(0) at top of my script.Here is page that shows phpinfo() in my webserver. http://www.webyog.com/indexsam.php As I can see, the configure command has '--enable-safe-mode' but in the PHP core configuration - safe_mode is set to off.It's probably because safe_mode is disabled in php.ini.The max_execution_time is given to be 30 by default, but in my PHP i have set set_time_limit(30)If you want to give your script infinite time to run (ie as much time as it needs) use: set_time_limit(0);
at the beginning of your script. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* /* now make a new head in the exact same spot */-- Larry Wall in cons.c from the perl source code*/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php