I have a POSTed form with several text inputs - one is a "file" browse text input. It suddenly stopped passing its value on to the PHP page that processes it.
I have renamed it; moved it on the page; and am printing a diagnostice message displaying all the values POSTed to the PHP script....but that one field simply doesn't exist when it gets to the PHP script. It used to work...I simply updated some other code on the page ( mostly just text) and have no idea what else to look at.
Anyone have any ideas why the file browser won't pass into the PHP script through POST?
Here's the FORM statement:
<form action='upload.php3' method="post" name="fileupload" enctype="multipart/form-data">
Here's the input line of html:
<input type="file" name="file2use" size="32">
In in the PHP script, here is how I print it out:
while (list($key, $value) = each ($HTTP_POST_VARS))
{
$arr_request[strtolower($key)] = $value;
echo $key."=".$value."<BR>";
}
Thanks in advance for any help you can offer!
Jeff Mills
jamills@mac.com