I am writing a script that acts like a spider crawling remote web pages for text and meta tag information. Initial test worked great when defigning the url to spider like this:
$url = "http://www.somesite.com";
Using the functions get_meta_tags and strip_tags I was able to parse out the desired info needed to add to the database. However when I started reading a file of submitted urls the get_meta_tags function only worked on the very last url in the file?
Any Ideas?