empty $FILES

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have tryed to implement some file upload on a webpage. I have a form

<input type="hidden" name="MAX_FILE_SIZE" value="102400">
<input name="userfile" type="file">

and on the action-script I have:

The result is:
Array ( )

If I check $_POST the userfile contains the correct path to the selected
file, but somehow the file is newer uploaded, or???

Any ideas?


Re: empty $FILES

*** Morten Lemvigh wrote/escribió (Mon, 22 Nov 2004 13:19:58 +0100):
Quoted text here. Click to load it

An empty array? Hmmm...

Quoted text here. Click to load it

What does your form look like? It should be something like this:

<form .... method="post" enctype="multipart/form-data">

-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions

Re: empty $FILES

Quoted text here. Click to load it

Aahh... enctype! Thanks for the quick reply!!!


Site Timeline