views:

55

answers:

1

i need coding in PHP where only registered users can upload as many images as they want with the option of deleting them .One of their image goes in their profile next to his/her details.

i want to store the images in server.

A: 

You can either:

1) Store the image in a folder and store the location in the database

http://php.net/manual/en/features.file-upload.php

or

2) Pump the image straight into your database (then call a php file that gets it out and displays it based on the id)

http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/uploading-files-to-mysql-database.aspx

Sohnee
sohnee i want to store location in database,but for registered members only.For that i had added username and password authentication in form.But i dont know how to make it work in php
Dabba