diff -r 5c3c1b82fea2 -r e8da4f096fde add_search.php --- a/add_search.php Thu Jul 01 14:17:07 2010 +0000 +++ b/add_search.php Thu Jul 01 15:31:13 2010 +0000 @@ -45,7 +45,9 @@ if (!validUrl($search_term)) { die(header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/details.php?alert=urlerror')); } - + else if ($search_term == "http://www.yourwebsite.com") { + die(header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/details.php?alert=urlerror-2')); + } // check to see if private or public if ($search_type == "private")