$_FILES returns as Array ( )
| From: | gavin | Date: | Tue, 15 Apr 2003 08:24:57 +0000 |
| Subject: | $_FILES returns as Array ( ) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10637@lists.php.net to get a copy of this message | ||
<FORM method=post enctype="multipart/form-data">
<input type=hidden name=MAX_FILE_SIZE value=30000>
<input type=file name=userfile>
<input type=submit>
</form>
<?php
print_r($_FILES);
?>
and all it ever returns is Array ( )
No errors... No nothing as if the upload never was
$_POST['userfile'] exists and contains the name of the file.
file_uploads = On
upload_tmp_dir = /tmp/php
upload_max_filesize = 2M
it has NO problem storing the session files in /tmp/php
I'm running Apache 1.3.27
PHP 4.3.2-RC
didn't work with PHP 4.3.1 either
I'm starting to go slightly crazy here...
Please tell me what i'm doing wrong.