Date: 11/13/00
- Next message: kenji chan: "[PHP-DB] Security connection with MySQL"
- Previous message: Jayme Jeffman Filho: "Re: [PHP-DB] Web-base Files upload"
- In reply to: kenji chan: "[PHP-DB] Web-base Files upload"
- Next in thread: kenji chan: "Re: [PHP-DB] Web-base Files upload"
- Reply: kenji chan: "Re: [PHP-DB] Web-base Files upload"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>]
Sent: Monday, November 13, 2000 12:37 PM
To: php-db <email protected>
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 <email protected> or kenjikenji <email protected>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: kenji chan: "[PHP-DB] Security connection with MySQL"
- Previous message: Jayme Jeffman Filho: "Re: [PHP-DB] Web-base Files upload"
- In reply to: kenji chan: "[PHP-DB] Web-base Files upload"
- Next in thread: kenji chan: "Re: [PHP-DB] Web-base Files upload"
- Reply: kenji chan: "Re: [PHP-DB] Web-base Files upload"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

