Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Visitors Uploading Photos to Website and Editing Posted Information

New Here ,
Jan 03, 2011 Jan 03, 2011

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.

TOPICS
Server side applications
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 03, 2011 Jan 03, 2011

google?

php file upload

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 03, 2011 Jan 03, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 03, 2011 Jan 03, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 03, 2011 Jan 03, 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):

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 05, 2011 Jan 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 06, 2011 Jan 06, 2011
LATEST

Have a look at webassist.com

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines