i have been working on a script for a few weeks now, and nearly at
final stages of releasing it, but i need help with the following
PHP Code:
function blockAccess($message) {
global $forbidbad, $badcookie, $myredir;
if ($forbidbad == true) {
writeCookie($badcookie, $message, $myredir);
}
i want to insert a redirect script / code into this
basically the above writes a cookies to block access, so the idea is if the statement above is true the redirect to a given $varaiable set in admincp