I want the value of the rel attribute of the anchor tag associated with the search domain.
I have to change the domain "blog.zeit.de/berlinjournal" instead of "http://blog.zeit.de/berlinjournal/". Use this domain and find out rel Val
@Sam Onela, code not working for this domain. Please help me to solve this error.
My code is:
$domain = 'blog.zeit.de/berlinjournal';
$handle = fopen($domain, 'r');
$content = stream_get_contents($handle);
fclose($handle);
if ((strpos($content, $domain) !== false)) {
echo 'true'; // true if $domain found in view source content
}
Get the clear idea in blow image