Skip to main content
Known Participant
January 3, 2011
Question

Visitors Uploading Photos to Website and Editing Posted Information

  • January 3, 2011
  • 3 replies
  • 1093 views

I am creating a website that will function like Craiglist.  Visitors to my site will be able to list items and post pictures.  I would like for them to be able to edit and delete their posting and was wondering how I would go about doing this.  In addition, I require some assistance with creating a form that will allow them to upload photos.  I have been successful with creating a basic form, but am not sure how to do this so that photos can be uploaded.  I am using PHP.  If there are any tutorials or books that will help me through this process that would be great.

Thank you.

This topic has been closed for replies.

3 replies

Inspiring
January 7, 2011

Have a look at webassist.com

They have solutions ready built for this, you just have to pay for them ;o)

David_Powers
Inspiring
January 4, 2011

Alicia Walton wrote:

I have been successful with creating a basic form, but am not sure how to do this so that photos can be uploaded.  I am using PHP.  If there are any tutorials or books that will help me through this process that would be great.

Basic tutorial on uploading images: http://cookbooks.adobe.com/post_Upload_image_to_website__PHP_-16389.html.

As regards to books, you might find the following helpful (written by me):

Known Participant
January 5, 2011

I tried this and I'm getting an error. Obviously I'm getting an error because of something I did wrong. I am going to try to figure out where I went wrong because that's how I learn.  However, before I can do that, I need a better understanding.  The form that I created has 11 fields (http://bridesmaidscloset.com/singleform.php). After visitors have completed the form, they are directed to another page where the results will be shown. I wanted to add an additional file field for the photos.  Should I also be including this field in my recordset on the results page? 

Thank you.

January 3, 2011

google?

php file upload

Known Participant
January 3, 2011

I'm using a datase also, does that change anything?

January 3, 2011

Alicia Walton wrote:

I'm using a datase also

Given your original explaination it's obvious that you're saving the filename to a database.

Generally you would upload the file to the sever and save the file name to the database. Dreamweaver has server behaviors to insert, edit and delete records.