It still doesn't appear to work, I added those lines that I stupidly
forgot to include (the enctype... as well as the MAX_FILE_SIZE).
File Uploads is set to On, so it should be working.

The temporary directory for the files might be the problem... I
changed it to "/tmp" because in one of my PHP books they put that.

I'm not exactly sure where this "/tmp" would be located though.

Thanks,
-bryan


> Next find the
> upload_max_filesie, upload_temp_dir and post what those say.
> 
> 
> Next, make sure your form is created similar to this:
> 
> <!-- The data encoding type, enctype, MUST be specified as below -->
> <form enctype="multipart/form-data" action="__URL__" method="POST">
>      <!-- MAX_FILE_SIZE must precede the file input field -->
>      <input type="hidden" name="MAX_FILE_SIZE" value="30000" />
>      <!-- Name of input element determines name in $_FILES array -->
>      Send this file: <input name="userfile" type="file" />
>      <input type="submit" value="Send File" />
> </form>
> 
> If it doesnt say enctype="multipart/form-data" then you arent
uploading anything.
> 
> Wade
>


Reply via email to