Jump to content

GET_META_TAGS seems to have stopped working


jonshutt

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.