0

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.

Dabba
  • 1
  • 2
  • 2
    This looks more like a code request then a question... what have you got now, what have you tried? – NDM Nov 04 '09 at 09:41
  • ahha i know:D because i am soo tired to use my brain now ok heres what i has done so far.My code uploads the server but doesnt send that to mySQL database at the end. – Dabba Nov 04 '09 at 09:53
  • form:uploader.html
    Select Image File :
    Enter your User name :
    Enter Password :

    – Dabba Nov 04 '09 at 09:55

1 Answers1

0

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

Fenton
  • 241,084
  • 71
  • 387
  • 401
  • 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 Nov 04 '09 at 10:02