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...

Stephen Craton

----- Original Message -----
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
> store its contents in a mysql database and then delete the file, or any
> efficient method.
> Any help at all would be great.
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to