Server timed out

i have an upload link for a client, and most of the files they upload are more then a couple megs, so during the upload the server times out. (my host server www.flamesburn.com has it set to 60 seconds and wont change it for security reasons) is there any way around this?

just for your info my php script looks like this:

copy ("$fileTemp","../uploads/$fileName") or die ("<h1>Could not copy File!</h1>");

Thanks in advance.

~ryan~

My first instinct would be to recommend finding a different host :slight_smile: That one, in particular, doesn’t look all that impressive to begin with, but I’m biased.
That said, if you want a purely technical solution, you do multipart uploads (force them to use something like winRAR to break the file into parts), or compress prior to sending (require the user to zip the file first, and unzip it once on the server).

If you get really clever, you could setup a system where you email the files, and an email filter strips the files and copies them to the web root, but if your host won’t support 60+ second HTTP sessions, they probably won’t support scripts handling email, either.