Re[2]: [PHP-DB] Upload

From: Date: Fri, 16 Nov 2001 19:11:29 +0000
Subject: Re[2]: [PHP-DB] Upload
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-14410@lists.php.net to get a copy of this message
well, thank you very much to all by the aid and the advice!! I am going to see that it happens -- Saludos, Lilian mailto:lsalazar@auge.cl matt> always make sure you restrict what can be uploaded though! only allow file matt> extensions that you know are safe! otherwise people might do nasty things to matt> your server! matt> -----Original Message----- matt> From: Jonathan Hilgeman [mailto:JHilgeman@ecx.com] matt> Sent: 16 November 2001 16:29 matt> To: 'Lilian Salazar'; php-db@lists.php.net matt> Subject: RE: [PHP-DB] Upload matt> Hola Lilian, matt> You might want to check http://phpclasses.upperdesign.com and search for matt> "upload." matt> - BUT - matt> I have found it much easier and simpler to just to use my own code when matt> doing uploads. It is really simple, since most of the work is done by the matt> browser and the server programs. To add an upload function just create 2 matt> pages: matt> ----------------------------------------------------------- matt> page1.html (Can be located anywhere, even on your desktop) matt> <FORM ENCTYPE="multipart/form-data" ACTION="http://www.mysite.com/page2.php" METHOD="POST">> matt> <INPUT TYPE="File" NAME="NewUpload"> matt> <INPUT TYPE="Submit"> matt> </FORM> matt> ----------------------------------------------------------- matt> ----------------------------------------------------------- matt> page2.php (Should be at http://www.mysite.com/page2.php) matt> <? matt> copy($NewUpload, "/directory/to/put/uploaded/file/into/" . $NewUpload_name); ?>> matt> ----------------------------------------------------------- matt> - Jonathan matt> -----Original Message----- matt> From: Lilian Salazar [mailto:lsalazar@auge.cl] matt> Sent: Friday, November 16, 2001 8:09 AM matt> To: php-db@lists.php.net matt> Subject: [PHP-DB] Upload matt> Hi, matt> Exists some component that allows to do upload from archives to the matt> Web server? Where it could find it? Somebody knows? matt> The ideal would be that it served so much for Apache as for IIS. The matt> Database is Oracle 8i matt> Thank you very much.

« previous php.db (#14410) next »