Having a hard time..
Please give me a quick and simple to understand reply.
I'm doing a test web project(not on my web space but with localhost(xampp) ), a "login system". I've done the database connection things and queries. But I want to give the option to upload a photo when users register( I have inserted this in my registration form:- <input type="file" name="somename" /> ) on my website . I've heard that there're two options to do this,
(1) upload the photo directly to the database.
(2) upload the photo to a folder and store only the path in the database.
I don't know whether it is possible to do it on localhost, if it's possible, please tell me how to do it the 2nd way.
Thanks all and hope a best method to do it.
-
chretit -
[ 1 ] Thanks
{{ DiscussionBoard.errors[7126849].message }} -