Jump to content

Archived

This topic is now archived and is closed to further replies.

dromorkid

Uploading Images

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
It says available only for Dreamweaver MX and MX2004, I'm using Dreamweaver 8. Will this work? Or is there another version?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.