Hello,
I need a script to crawl all the images of a website and then insert all urls of images into database.
Example: [login to view URL]://forestparkphoenix.com/&site_id=99
Then the script [login to view URL] will crawl all images belong to domain name [login to view URL]
Then the database lool like:
--
-- Table structure for table `images`
--
CREATE TABLE IF NOT EXISTS `images` (
`images_id` mediumint(6) NOT NULL auto_increment,
`images_url` varchar(200) NOT NULL,
`site_id` mediumint(6) NOT NULL,
PRIMARY KEY (`images_id`),
UNIQUE KEY `images_url` (`images_url`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `images`
--
INSERT INTO `images` (`images_id`, `images_url`, `site_id`) VALUES
(1, '[login to view URL]', 9),
(2, '[login to view URL]', 9),
(3, '[login to view URL]', 9);
Regards
HN