RE: [PHP] Fw: upload

From: Date: Wed, 25 Jun 2003 12:33:45 +0000
Subject: RE: [PHP] Fw: upload
Groups: php.general 
Request: Send a blank email to php-general+get-152752@lists.php.net to get a copy of this message
[snip] 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 ..... [/snip] See TFM at http://us3.php.net/manual/en/features.file-upload.php HTH

« previous php.general (#152752) next »