I'm trying the upload snippets of code found at php.net such as:

<form enctype="multipart/form-data"  method="post" action="upload.php" >
<input type="hidden" name="MAX_FILE_SIZE" value="1000">
Send this file: <input name="userfile" type="file">
<input type="submit" value="Send File">
</form>

followed by a php doc with this in it:

<?PHP
echo "Values submitted via POST method:<br>";
reset ($HTTP_POST_VARS);
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
    echo "$key => $val<br>";
}
?>

The problem is that I can't get a value for $userfile whenever I use
enctype="multipart/form-data" in the form tag.  I have track vars on but
cannot get any variables to pass to the php doc once that enctype value is
put in the form tag.

Any suggestions?

Mike
TWD



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to