When I execute my nonvb page with the code in it, whether I'm logged in or not, it just goes to the page and it's a blank white screen.
#!/usr/local/bin/php
<?php
//Begin VB Security Intergration Hack
include_once("/full/home/path/html/forums/global.php");
if ($bbuserinfo[userid]==0)
{
$thispage=urlencode("$PHP_SELF");
header("Location:
http://www.site.com/forums/usercp.ph...de=1&prevpage=".$thispage);
}
//End VB Security Intergration Hack
?>
[HTML PAGE HERE]
Any ideas?
Thanks,
Scott