PHP 4.0 Bug #4992: File Upload variables do not exist.
| From: | john at intersphere dot com | Date: | Mon, 12 Jun 2000 18:52:53 +0000 |
| Subject: | PHP 4.0 Bug #4992: File Upload variables do not exist. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21147@lists.php.net to get a copy of this message | ||
From: john@intersphere.com
Operating system: Linux and NT
PHP version: 4.0.0 Release
PHP Bug Type: Misbehaving function
Bug description: File Upload variables do not exist.
The variables $userfile_name, $userfile_type, $userfile_size are never set.
To reproduce the problem:
<html><body>
<form action="<?php echo $PHP_SELF ?>" method="POST">
<input type="file" name="userfile">
<input type="submit">
</form>
<pre>
<?php
echo("userfile =$userfile \n");
echo("userfile_name = $userfile_name \n");
echo("userfile_type = $userfile_type \n");
echo("userfile_size = $userfile_size \n");
?>
</pre></body></html>