RE: [PHP-DB] Upload
| From: | Jonathan Hilgeman | Date: | Fri, 16 Nov 2001 16:28:43 +0000 |
| Subject: | RE: [PHP-DB] Upload | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14405@lists.php.net to get a copy of this message | ||
Hola Lilian,
You might want to check http://phpclasses.upperdesign.com and search for
"upload."
- BUT -
I have found it much easier and simpler to just to use my own code when
doing uploads. It is really simple, since most of the work is done by the
browser and the server programs. To add an upload function just create 2
pages:
-----------------------------------------------------------
page1.html (Can be located anywhere, even on your desktop)
<FORM ENCTYPE="multipart/form-data" ACTION="http://www.mysite.com/page2.php"
METHOD="POST">
<INPUT TYPE="File" NAME="NewUpload">
<INPUT TYPE="Submit">
</FORM>
-----------------------------------------------------------
-----------------------------------------------------------
page2.php (Should be at http://www.mysite.com/page2.php)
<?
copy($NewUpload, "/directory/to/put/uploaded/file/into/" . $NewUpload_name);
?>
-----------------------------------------------------------
- Jonathan
-----Original Message-----
From: Lilian Salazar [mailto:lsalazar@auge.cl]
Sent: Friday, November 16, 2001 8:09 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Upload
Hi,
Exists some component that allows to do upload from archives to the
Web server? Where it could find it? Somebody knows?
The ideal would be that it served so much for Apache as for IIS. The
Database is Oracle 8i
Thank you very much.
--
Saludos,
Lilian mailto:lsalazar@auge.cl
--
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