RE: [PHP-DB] Web-base Files upload

From: Date: Mon, 13 Nov 2000 19:23:17 +0000
Subject: RE: [PHP-DB] Web-base Files upload
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4402@lists.php.net to get a copy of this message
According to 2 books, and the PHP4 manual, this should work: <HTML> <HEAD> <TITLE>PHP is Da Bomb!!!</TITLE> </HEAD> <BODY> <?PHP if (isset($userfile)) { copy($userfile, "E:\\Public\\$userfile_name"); } ?> <FORM ENCTYPE="mutlipart/form-data" ACTION="<?PHP print $PHP_SELF?>" METHOD="POST" > <INPUT TYPE="hidden" NAME="MAX_FILE_SIZE" VALUE="1024000"> <INPUT TYPE="file" NAME="userfile"> <INPUT TYPE="submit" VALUE="Get File"> </FORM> </BODY> </HTML> But it doesn't on my computer. Maybe it'll work on yours. Happy Coding, Gaf -----Original Message----- From: kenji chan [mailto:kenjikenji@bigpond.com] Sent: Monday, November 13, 2000 12:37 PM To: php-db@lists.php.net Subject: [PHP-DB] Web-base Files upload Have php had Files upload function? ( Bulid in) If yes, how do i make the code? Anyone done it? Please E-mal here : kylw@lovehk.com or kenjikenji@bigpond.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#4402) next »