/    Sign up×
Community /Pin to ProfileBookmark

Retrieve file from a target path

Please help..?

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 😮

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@JayMMay 21.2007 — 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.
×

Success!

Help @celest91 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...