Jump to content


Photo

Uploading Images


  • Please log in to reply
4 replies to this topic

#1 dromorkid

dromorkid
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 17 March 2006 - 08:12 PM

Hey
I'm new to both php and this forum so bare with me if you will!

I've just been landed with finishing up an excoworkers work and need help in uploading images to the database.

I'm using DW 8 and the files are being stored on Plesk. I'm uploading the usual information to the database relating to products i.e. name, description, etc. I have no problem with inserting this information into the database but there is an image field that requires the user to upload an image to the database. Right now I'm baffled. I can browse my computer for the image no problem. My next interface is setproduct.php (I'm not sure if this guy created this page or took it from somewhere so maybe this is familiar to some of you). On this page it informs me of the information that has been uploaded successfully to the database. The image file is not being uploaded. When I check the database all the information is stored correctly in the their respective places INCLUDING the name of the image. This tells me that the image's pathway is there but the actual image file did not upload to the databse therefore its being displayed as a blank image.

Is there some kind of add on that I need to use to upload the image? IS there code to upload the image? Can anyone help? PLease, I'd be more than grateful if someone could reply. Anything that is needed I can provide i.e. the code. The website is being stored on Unix.

Heres hoping!
Conor

#2 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 17 March 2006 - 09:40 PM

For an extension for this, try [a href=\"http://www.interaktonline.com/\" target=\"_blank\"]http://www.interaktonline.com/[/a]. Their extensions are very varied, and their file upload one does indeed work.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#3 dromorkid

dromorkid
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 17 March 2006 - 10:19 PM

It says available only for Dreamweaver MX and MX2004, I'm using Dreamweaver 8. Will this work? Or is there another version?


#4 lpxxfaintxx

lpxxfaintxx
  • Members
  • PipPipPip
  • Advanced Member
  • 181 posts

Posted 17 March 2006 - 10:23 PM

It would probably work, since 8 is the most recent version.

#5 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 18 March 2006 - 02:59 AM

I'm using it with my copy; works perfectly. This extension will make it easy for you to upload images to a folder on your server.
Disclaimer: No matter how harsh I may be, I'm always IMO only.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users