Display Content to Search Engine Visitors

functions:

<?php function scratch99_fromasearchengine() { $ref = $_SERVER['HTTP_REFERER']; $SE = array('/search?', 'images.google.', 'web.info.com', 'search.', 'del.icio.us/search', 'soso.com', '/search/', '.yahoo.'); foreach($SE as $source) { if(strpos($ref, $source) !== false) return true; } return false; } ?>

template

<?php if(function_exists('scratch99_fromasearchengine')) { if (scratch99_fromasearchengine()) { // INSERT YOUR CODE HERE } } ?>


Search Engine Visitors