Greetings,
I have been trying for some time now to implement file uploads to my web-site...here is my status so far:
Form has been constructed which I can use to file a file on the local machine and them "submit it"
The file that handles the upload is upload.php and performs a variety of checks on the uploaded file. In addition, it prints various information regarding that file.
After submitting a file for upload,
$userfile = none
$userfile_name = [correct name]
$userfile_size = 0
$userfile_type = [correct type]
This is a linux, apache, and PHP 4.0.6 environment with
HTTP_ENV_VARS["TMPDIR"] = /tmp
HTTP_ENV_VARS["TMP"] = /tmp
upload_tmp_dir = /tmp
upload_max_filesize = 2097152
When I look in my /tmp directory, I don't see anything other than session temp files. I have read the file upload article on this site. What am I doing wrong? These directories (/tmp) is world writeable...the files i'm uploading are safely under the size limit.
Thanks!!