|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
timeout variable in php.ini
On Windoze 2000 with PHP 4.3.4, I am trying to parse a series of 512 XML files dynamically downloading from the Library of Congress. The problem is, the process times out after about 30 seconds, no matter how much I increase the timeout value from the default of 30. Is there a way to set timeout to infinity? Am I even in the right ballpark?
tia, Mark |
|
#2
|
|||
|
|||
|
RE: timeout variable in php.ini
You know, it shouldn't time out if you increase it correctly. Why don't you post the lines of your php.ini that you changed, and we can verify that. Otherwise, a way to circumvent the problem that I used when I was working with weather data is to have the page reload after each file, using the header("location:"); function. You can pass the current file using a URL variable, like so:
Run the script by using the url yourhost.com/thisfile.php?index=0 P |
|
#3
|
|||
|
|||
|
RE: timeout variable in php.ini
With set_time_limit(0) you set the time limit to infinity.
But be carefull, your script may run forever |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > timeout variable in php.ini |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|