Hi,

I have a form kinda like this:
<form action=$PHP_SELF?option=Mass&action=add method=POST
enctype=multipart/form-data>
<input type=file name=passcodeFile>

the rest of the form is there too.  And $PHP_SELF is set to $PHP_SELF =
$_SERVER[PHP_SELF] at the top of the page.

When I select a passcodeFile file to upload and click the "upload"
button, I am presented with this on the next page:
"You need to specify a file to use."

Here's what I did:
if ($_POST[passcodeFile] == "") {
        print "You need to specify a file to use.";
}

Any ideas why it does that even if I do select a file?

Thanks,
tyler

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to