php3-list | 199901

[PHP3] File Upload - PHP Win32 From: Cameron Taggart (cameront <email protected>)
Date: 01/31/99

$userfile keeps on giving me the original file name and
$userfile_name is blank

What am I doing wrong? I'm using PHP win32 v3.0.6.

Cameron

<html><head><title>Test</title></head><body>

<?
echo "<p>Server File: ".$userfile."<br>";
echo "<p>Original File: ".$userfile_name."<br>";
?>

<form name="upload" action="test.php3" encrypt="multipart/form-data"
method="POST">
  <input type="hidden" name="MAX_FILE_SIZE" value="100000">
  <p><b>Vehicle Image: <input type="file" name="userfile">
  <p><input type="Submit">
</form>

</body></html>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>