NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP Fileupload problem

David Krings ramons at gmx.net
Wed Jul 22 13:22:44 EDT 2009


Jeff Siegel wrote:
> The code is real standard stuff (see below). A user selects a file. Clicks upload. When the upload is completed a refreshed page appears. This function works perfectly when I test it and when another consultant tests it. We are able to upload files of almost any size. When the upload is complete we see the new refreshed page and the uploaded file is in the correct directory. Of course...this does not work  when the client does the uploading. The browser seems to time out when the file is about 1 meg or greater in size. There are no PHP errors, no PHP timeout errors. Just the browser saying that the page cannot be displayed. 
> 
> I tried the script running off of two different web hosts. It works for me. It works for the consultant. It doesn't work for the client. To make matters worse, the client's client has the same problem uploading files. 
> 

Does uploading of even a small file fail as well? Which internet connection 
does the client have? Does the client have any other restrictions in place, 
for example particular traffic monitoring devices that kill any up- or 
download after a specific size?

No clue what is happening, just some more things to look at.

David



More information about the talk mailing list