|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2005
1 posts
Gave thanks: 0
Thanked 0 times
|
Script Timeout - Changeable Timeout Settings?
I have a PHP script that runs through a remote 23MB File (At different times, file changes weekly) and then puts each row into an SQL database. Now, this times out very easily as you would imagine. I haven't found a way to better trim up this script and maybe make it more efficient (I have it set to explode() each row of the text file, hundreds of rows, and then insert select ones into the database). If I bought a Dedicated Server on Surpass, is there anyway the timeout settings could be changed so I can keep that gateway open long enough to import these rows? Or better yet, for you script geniuses, any way I could make the script more efficient? Either way... still wanting to buy a server from Surpass.
|
|
|
|
|
|
#2 (permalink) |
|
Registered User
Comfy Contributor
Joined in May 2004
Lives in Finland
Hosted on Centi
281 posts
Gave thanks: 0
Thanked 0 times
|
Tried http://php.net/set_time_limit ?
__________________
The secret to creativity is knowing how to hide your sources. - Alber Einstein Centi: ykkosrasti.net My sites on Pass38, reseller: kimslotte.net|mtb-o.net|perhekuvat.net|nettikuvat.net|tiedostotila.net About me |
|
|
|