December 29th, 1999, 12:15 AM
Trying to upload a file ( gif or jpg image) to a server. The 'upload_tmp_dir' is not defined so, I'm assuming that the file is in either /var/tmp or /tmp. I can't seem to get a valid file handle. Even the variables that are suposed to be defined ( $UploadFile_name, $UploadFile_size, and $UploadFile_type) are all not defined.
Any Help would be appreciated.
December 29th, 1999, 10:15 PM
You wouldn't be getting a file handle, you would be getting a file name, and it would be in $UploadFile, not $UploadFile_name.
Can you give us an example of the code that you are using?