Please help, I've read in comments on php.net (in the doc. errata) that if a file input field in a form is left blank, then the associated variable contains the string "none". I am testing for that string, but apparently this is not happening in PHP4, lastest build on win32.
Also, I NEVER get a value if I try to access it via the $HTTP_POST_VARS array, even when I do try to upload a file. The associated array element is always empty. I have made sure my form is multipart, I just don't know what to do. Do I check for a file using isset($file_to_upload)? Should $HTTP_POST_VARS["file_to_upload"] the temp file stored on my server?.
I am able to upload files, but I cannot successfully test for an empty file input. Please help me understand how to do this.
Brian