Make sure your form tag has this attribute: enctype="multipart/form-data.
Up vote 4 down vote favorite 1 share g+ share fb share tw.
I'm having a problem uploading files in PHP. When I submit, $_FILES is empty. I feel like this is such a n00b question :/ My form: Image: Relevant php.
Ini: ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. File_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). Upload_tmp_dir = "c:\php5\upload\" ; Maximum allowed size for uploaded files.
Upload_max_filesize = 300M c:\php5\upload\ is writable by IUSR_HOSTNAME Any thoughts on what else I should check? Php html file upload file-upload link|improve this question edited May 5 '09 at 3:49Paolo Bergantino89k17232276 asked May 5 '09 at 3:38hapes407.
Make sure your form tag has this attribute: enctype="multipart/form-data" Without it the files will not get uploaded.
We have a winner! Thank you, sir! I can't uparrow because I'm a noob, but I would if I could!
– hapes May 5 '09 at 3:42 3 No problem. Welcome to the site. :) – Paolo Bergantino May 5 '09 at 3:44 +1 for the welcome message, people need to do this more – barfoon May 22 '09 at 20:15.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.