I'm using php 4.2 apache 1.3. and win98.
here is my html code. It's straight from PHP docs.

<html>
<body>
<form enctype="multipart/form-data" action="test.php" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="1000">
Send this file: <input name="userfile[]" type="file">
<input type="submit" value="Send File">
</form>
</body>
</html>

and here is my PHP code. Because I could 'nt get the copy or
move_uploaded_file working I just tried to print the stuff
out. So here is my php code. (test.php)

<?php

$temp_name = $HTTP_POST_FILES['userfile']['tmp_name'];
$size = $HTTP_POST_FILES['userfile']['size'];

echo ($temp_name);
echo ($size);

?>

RESULT:
--------
none
0
--------

I have tried evrything with the php.ini file (I think ??)
and with the .conf file of apache to. Somewhere I must go
wrong... but where.... ?




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to