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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

upload problems -> file size

Status
Not open for further replies.

fylnc

Technical User
Apr 24, 2002
15
GB
i am currently constructing a site that allows users to upload files, i have altered the php ini file to allow 5 meg max file size.
In the form on upload page i have set the MAX_FILE_LENGTH to 5 meg, however every time i try to upload a file bigger than 1 meg the browser gives me "The page cannot be displayed".
i am running apache on a linux server..

any ideas???

cheers
FYL
 
1. You should take a look at your apache
Code:
error.log
, the PHP error should be there.
2. Check your PHP config file for
Code:
max_execution_time
, it's set to 30s as default, your session could be timing out. Big files may be exceeding any of these config items:
Code:
post_max_size
,
Code:
upload_max_size
and
Code:
memory_limit
.
 
nice one..
thanks for your help ETasse
cheers

FYL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top