Welcome! Log In Create A New Profile

Advanced

How To? Meta Verify Site

Posted by Malcolm 
How To? Meta Verify Site
August 05, 2010 08:01AM
I am using this: http://www.sphider.eu/forum/read.php?3,1914

How would I make it so that they have to put my meta tag on their site to confirm that they own that site, before I start indexing?
Re: How To? Meta Verify Site
August 07, 2010 06:33AM
Example:

<?php

$metasite = $_GET(['$url'])

$tags = get_meta_tags($metasite);

.
if $tags['search'] == 'verified'{

//enter into database

}

else

{
//error message
}

?>

I need the exact code. i have ideas, but i cannot get them to work.
Re: How To? Meta Verify Site
December 30, 2010 03:47AM
Your results will be in $res, the data you're checking should be passed in $headdata

auth-dti = name of meta tag
$code = what you're checking for

preg_match( "/<meta +name *=[\"']?auth-dti[\"']? *content=[\"']?($code)[\"']?/i", $headdata, $res );
Sorry, only registered users may post in this forum.

Click here to login