mschrank99 Posted July 18, 2007 Share Posted July 18, 2007 What I would love to have is addresses within a certain zip code based on what I search put into an array. For example, I put in "police station" and this hypothetical PHP program goes and searches google, or mapquest/yahoo etc, and returns a neat array of information that I can use to create points on a google map. Does this exist? Is there any way to use PHP to run and return an address search on an external site like google or mapquest? Quote Link to comment Share on other sites More sharing options...
per1os Posted July 18, 2007 Share Posted July 18, 2007 www.php.net/file www.php.net/file_get_contents It's called web parsing. As far as there being another script out there, I am sure there is. You just have to search a little. If not it would not be too hard to create. Just gotta parse the results. Quote Link to comment Share on other sites More sharing options...
mschrank99 Posted July 18, 2007 Author Share Posted July 18, 2007 Hmm, yes very interesting. Does anyone know a resource that I could use, I'd love to have something like $addresses = file('http://site.com?find=mysearch&where=60477'); and have it return matching addresses... Quote Link to comment 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.