problem with copy and move_uploaded_file

From: Date: Sun, 21 Apr 2002 17:42:55 +0000
Subject: problem with copy and move_uploaded_file
Groups: php.windows 
Request: Send a blank email to php-windows+get-13215@lists.php.net to get a copy of this message
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.... ?

« previous php.windows (#13215) next »