How do you keep from timing out for long
am 13.10.2007 00:19:28 von lauradaniels
website transactions? Hi all. I've working on http://www.picturesoffood.org
about pictures of food. Yummy! Anyway, I upload all the files using FTP,
but then I use php to process them, either the server times out or maybe
the server runs out of memory space for my account. I'm using shared
webhosting. Anyway, is there a way to keep the connection alive while the
code processes the files. It's just a simple for loop and I call php's
image processing functions to process them. But I don't know how to keep
the connection alive. Thank you in advance for any help.
Re: How do you keep from timing out for long
am 13.10.2007 04:13:36 von Jerry Stuckle
Laura D. wrote:
> website transactions? Hi all. I've working on http://www.picturesoffood.org
> about pictures of food. Yummy! Anyway, I upload all the files using FTP,
> but then I use php to process them, either the server times out or maybe
> the server runs out of memory space for my account. I'm using shared
> webhosting. Anyway, is there a way to keep the connection alive while the
> code processes the files. It's just a simple for loop and I call php's
> image processing functions to process them. But I don't know how to keep
> the connection alive. Thank you in advance for any help.
>
Unless you can change the amount of time allowed and/or max memory (not
in a good shared host!), the only thing you can do is upload fewer (i.e.
one) at a time.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================