Quote:
Originally Posted by kh99
I don't know if I understand either. Are you not able to call print_standard_redirect(), or is it that you don't think it does what you want? Why not this:
Code:
function blockAccess($message) {
global $forbidbad, $badcookie, $myredir;
if ($forbidbad == true) {
writeCookie($badcookie, $message, $myredir);
}
global $vbulletin
$vbulletin->url = $myredir;
print_standard_redirect('phrase_to_show');
}
|
i get this with the above
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';'