i have this problem when i try to upload a file

this is the form that i have

<form action="archivo2.php" method="post" enctype="multipart/form-data">
  <input type="hidden" name="MAX_FILE_SIZE" value="50000">
  Send this file:
  <input name="userfile" type="file">
  <input type="submit" value="Send File">
</form>


and this is the script for upload

$Archivo = $HTTP_POST_VARS['userfile'];
copy($Archivo,"Archivos/".$Archivo);


but it doesnt work .....

thnakyou

VP

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

Reply via email to