Posted by Tim Hunt on 10/17/06 17:37
Bob Bedford wrote:
> > then you should to set new time limit for script execution
>
> Obviously you guess I can't do it !!! I can't modify anything in the server
> settings.
>
> Bob
Some hosts let you change the timeout using ini_set, does yours?
If not could you split the processing over two scripts?
In the first script parse the xml file, update database, copy the image
to a temporary file and use $_SESSION to store the temp filename. Then
redirect to the second script using header('Location:') and let the 2nd
script finish off the resizing & database updates
This way you have a whole twenty seconds to play with.
[Back to original message]
|