brown2005 Posted December 22, 2010 Share Posted December 22, 2010 I was wondering can you read the keywords of a website in an iframe? i.e. say my website is www.mywebsite.com and on there was an iframe with google.co.uk can i read the keywords of the google site on my site? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
BLaZuRE Posted December 31, 2010 Share Posted December 31, 2010 I don't know what you mean by 'keywords', but you can try PHP DOM http://php.net/manual/en/book.dom.php Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted January 20, 2011 Share Posted January 20, 2011 This is the easiest way. <?php $url = "http://www.phpfreaks.com"; $tag = get_meta_tags($url); echo $tag["keywords"]."<br />"; ?> Using curl and resolving the urls is a better way. 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.