Click to See Complete Forum and Search --> : Retrieve file from a target path


celest91
05-21-2007, 12:32 AM
Please help..:confused:

i'm doing a form where the user can upload file through this form, but im having problem to retrieve and display the file for the user to see after clicking the submit button. the file that being uploaded does not store in the database, it actually store to a folder which i set earlier.
I am actually a newbies in php and just started to learn while doing this project. Appreciate for your help.

Thanks :o

JayM
05-21-2007, 12:23 PM
How do you associate that file with that specific user if it does not store in a database? And if the user comes back 10 days later to see that file that they uploaded, how will your application handle that?

You need to use a database. Whether it's a flat file or not is entirely up to you. But you need some method of association.