|Think about Loose Coupling|
Script to insert image information into MySQLby mel (Initiate)
|on Mar 08, 2003 at 18:29 UTC||Need Help??|
mel has asked for the wisdom of the Perl Monks concerning the following question:
I have ascript that renames images coming from a camera (placed in /home/httpd/htdocs/image.jpg) to the date of the image (2003_8_3_16_34_43.jpg) and then place the images in a new directory in /home/me/images/2003_8_3_16_34_43.jpg.
I would like to insert the images header into MySQL. (image_name, image_size, and image_date_modified). how do i do this. i have put a script together, but how do i get the image information to be sent to MySQL. please help.
20030308 Edit by Corion: Added CODE tags, blanked out login and password