jonshutt Posted November 12, 2009 Share Posted November 12, 2009 Hi all, I'm using GET_META_TAGS to get some IP info from geobytes.com $tags = get_meta_tags('http://www.geobytes.com/IpLocator.htm?GetLocation&template=php3.txt&IpAddress=121.73.14.37'); print $tags['city']; // city name This is their sample code, it used to work in my application, but doesn't anymore. Has there been an upgrade to PHP that stops get_meta_tags working cross domain? (it works if I get data from a file saved on the same site) Or does anyone know an alternative method of getting meta data? Many thanks Jon Link to comment https://forums.phpfreaks.com/topic/181294-get_meta_tags-seems-to-have-stopped-working/ Share on other sites More sharing options...
darkvengance Posted November 12, 2009 Share Posted November 12, 2009 Hmmm...the code you are using should work fine as it is still in PHP...hmm...oh well, I looked around and found this, maybe it will help you a little: http://nashruddin.com/page-indexing-get-title-meta-tags-from-all-pages.html Link to comment https://forums.phpfreaks.com/topic/181294-get_meta_tags-seems-to-have-stopped-working/#findComment-956418 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.