I am having a problem with a site that I am working on trying to upload large files. The issue is that when submitting a large file the page times out. I have set_time_limit(0) at the top of the script and the MAX_FILE_SIZE set to 40MB. I don't think it is a file size issue as the browser gives the generic page cannot be found error (as in you typed the url wrong or whatever).
What I noticed when I tested it on a fast connection, I could upload a 7MB file, but not an 11.4MB file. After clicking submit it spins for around 60 seconds (I assume the default timout) and dies.
My dialup connection can upload a file and it takes around 6-7 minutes without timing out.
What I noticed on the broadband connection (7MB DSL) was that when attempting to upload a file that was too large, the status bar said 'Sending request to...' and never changed to 'Transfering data from...' I don't know why that is or what the issue is. I know the code works as it will work with smaller files. Once the server responds to the request, everything is fine, but for the large files, it times out. Any help is appreciated.