rksprst Posted October 26, 2006 Share Posted October 26, 2006 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 :) Quote Link to comment https://forums.phpfreaks.com/topic/25132-add-images-to-sql-table-while-uploading-them-to-your-server-from-remote-url/ Share on other sites More sharing options...
gmwebs Posted October 26, 2006 Share Posted October 26, 2006 mmmm... get a good lawyer methinks... Quote Link to comment https://forums.phpfreaks.com/topic/25132-add-images-to-sql-table-while-uploading-them-to-your-server-from-remote-url/#findComment-114647 Share on other sites More sharing options...
rksprst Posted October 26, 2006 Author Share Posted October 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/25132-add-images-to-sql-table-while-uploading-them-to-your-server-from-remote-url/#findComment-114885 Share on other sites More sharing options...
fenway Posted October 26, 2006 Share Posted October 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/25132-add-images-to-sql-table-while-uploading-them-to-your-server-from-remote-url/#findComment-114938 Share on other sites More sharing options...
rksprst Posted October 26, 2006 Author Share Posted October 26, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/25132-add-images-to-sql-table-while-uploading-them-to-your-server-from-remote-url/#findComment-114945 Share on other sites More sharing options...
fenway Posted October 28, 2006 Share Posted October 28, 2006 We have a freelancing forum for just such a request. Quote Link to comment https://forums.phpfreaks.com/topic/25132-add-images-to-sql-table-while-uploading-them-to-your-server-from-remote-url/#findComment-115869 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.