faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input : File Uploads

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

101 of 196 people (52%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

$_FILES is empty or file upload problem

Apr 7th, 2003 10:45
Shawn Garbett, web developers and php programmers,


check  
1) Whether file upload is enabled in your php.ini. 
2) Check whether the temporary upload folder is set correctly in  
php.ini file. 
3) The html tag form sometime must have the attribute 
'enctype="multipart/form-data"' set.