Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with uploading files

Status
Not open for further replies.

meeble

Programmer
Joined
Sep 24, 2002
Messages
137
Location
GB
I'm using copy($userfile,$dir.$userfile_name); to upload files and this works fine for small files. But if I have to upload large files (5-10mb) then I get the error message:

Warning: Unable to open 'none' for reading: No such file or directory


Are you not able to upload large files? Is there a fix to this?

Thanks

James

 
Insufficient data for a meaningful answer.

Too many things can cause a file upload to fail. For example, a sufficiently large file on a sufficiently slow connection could cause the script to run longer than the php.ini setting "max_execution_time". A sufficiently large file may run afoul of the php.ini setting "memory_limit".

What does $_FILES look like when the file is not available?

Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top