There are many ways. I'd suggest setting up a folder where the user uploads the file (using the FTP commands in PHP) then setting up some sort of admin cp that gets a list of the files from the folder, displays them, then you click it. If you like it or whatever, you can click a save link which copies the contents and saves it into a MySQL table. The code would be too long to put in for this list though...
Thanks, Stephen Craton http://www.melchior.us ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 12, 2002 11:31 AM Subject: [PHP] User Upload > How would I go about allowing a user to upload a file which I then read and > store its contents in a mysql database and then delete the file, or any more > efficient method. > > Any help at all would be great. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php