Ok I posted before and you were guys were great, but when I added the fix it cause more errors, can you guys check this and let me know what is wrong with it please.
Page 1
<?php
require("./copyrightChecker.php");
$crCheck = "Your_Copyright_Goes_Here";
if ( CopyrightChecker($crCheck) == COPYRIGHT_IS_VALID ) {
} else {
if ( CopyrightChecker($crCheck) == COPYRIGHT_NOT_VALID ) {
echo "The copyright must remain intact in order for this script to work...";
exit;
}
}
?>
Page 2
<?php
function CopyrightCheck($crCheck) {
$crCheck = stripslashes($crCheck);
$Copyright_Notice = "Copyright © 2000-2009 YourWebsite.com (Your
Script). All Rights Reserved";
if ($crCheck != $Copyright_Notice)
return COPYRIGHT_NOT_VALID;
else
return COPYRIGHT_IS_VALID;
}
?>
I just cant seem to figure out the problem any help would be great .
Thank you.