I need a script to read a MySql table and download a remote image and save it to the server.
MySql Table Overview:
– Two columns; id and image_url
Script Functions:
– Connect to DB, download each image from the DB field “image_url”
– Rename image and save image to server. Use the field “id” as the image name.
Notes:
– Images are in various formats, so the script will need to detect this and save in the right format – or convert the image to jpg format.
Please PM questions or demo…
