Hello,
I try the upload files, but in "tmp_name" and other variables are
missing in $_FILES.
I use php 5.3.8 on SLES11SP2
I can repeat this with:
===================================================
<?php
if(isset($_FILES)) {
var_dump($_FILES);
}
?>
<!-- The data encoding type, enctype, MUST be specified as below -->
<form enctype="multipart/form-data" action="/i3.php" method="POST">
<!-- MAX_FILE_SIZE must precede the file input field -->
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
<!-- Name of input element determines name in $_FILES array -->
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>
===================================================
The $_FILES shows only:
array(1) { ["userfile"]=> array(1) { ["name"]=> string(14) "ask_script.xml" } }
I traced (strace) the apache process, and I saw, that a temporary
file was opened, the text from the file written and than later
unlinked.
What can be the problem?
Kindly regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php