I'm having some problems getting this working..
heres my test.php file
PHP Code:
<?php
echo "before";
//Begin VB Security Intergration Hack
include_once("/www/vhosts/vcdquality.com/html/forum/global.php");
if ($bbuserinfo[userid]==0)
{
$thispage=urlencode("$PHP_SELF");
header("Location:[url]http://www.vcdquality.com/forum/usercp.php?urloverride=1&prevpage=[/url]".$thispage);
}
//End VB Security Intergration Hack
echo "after";
?>
some code here
I get no errors or anything.. all my script outputs is 'before'
what am i doing wrong? Thanks in advance
http://www.vcdquality.com/test.php