Jump to content

Archived

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

rksprst

Add Images to SQL table (while uploading them to your server from remote URL)

Recommended Posts

I am using the shopping cart software, CubeCart.

I am wondering what code I would need to access teh database and then to search for a product via its product_ID. Then to copy over the appropriate image from a remote server to my own server, and change a field in the database to reflect the new image for the product.

If anyone can give me hints as to how to do this...

Thanks :)

Share this post


Link to post
Share on other sites
If you're referring to me copying the image files from a remote server, this is allowed. As I'm copying the files from a distributor with whom I have a contract with.

Oh, and I forgot to add. This will all be gotten from a CSV file that has the product_ID and the corrosponding image URL in it.

Share this post


Link to post
Share on other sites
I can't guess how your DB is set up... but you have to pull the row, store it in PHP, make a new insert, and put it back.

Share this post


Link to post
Share on other sites
Hm, ok well I've been looking at some tutorials for php and mysql. And I just don't feel like learning a brand new language. So, I'd be willing to pay for someone to do this for me. PM me or post here if you're interested.

Share this post


Link to post
Share on other sites
We have a freelancing forum for just such a request.

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.