Bill Vandele
11-09-2005, 11:34 PM
Hello,
I had this little code into a permissions.php page of my site,
<?php
chdir('C:\Inetpub\wwwroot\forums');
require_once('./global.php');
if ($bbuserinfo['usergroupid']!=5 and $bbuserinfo['usergroupid']!=6 and $bbuserinfo['usergroupid']!=7 and $bbuserinfo['usergroupid']!=9 and $bbuserinfo['usergroupid']!=13)
{
//echo "<br /><div style=\"color:#cc0000;\"><strong>You are not allowed in!</strong></div><br />";
header("Location:(redirection url)");
exit;
}
else
{
echo "<br /><div style=\"color:#00cc00;\"><strong>You are an Association Member</strong></div><br />";
}
?>
And when I recently upgraded to 3.51, it broke, and doesn't work. Now it just goes to the redirection url. Can anyone tell me why that would be?
I have no idea.
I had this little code into a permissions.php page of my site,
<?php
chdir('C:\Inetpub\wwwroot\forums');
require_once('./global.php');
if ($bbuserinfo['usergroupid']!=5 and $bbuserinfo['usergroupid']!=6 and $bbuserinfo['usergroupid']!=7 and $bbuserinfo['usergroupid']!=9 and $bbuserinfo['usergroupid']!=13)
{
//echo "<br /><div style=\"color:#cc0000;\"><strong>You are not allowed in!</strong></div><br />";
header("Location:(redirection url)");
exit;
}
else
{
echo "<br /><div style=\"color:#00cc00;\"><strong>You are an Association Member</strong></div><br />";
}
?>
And when I recently upgraded to 3.51, it broke, and doesn't work. Now it just goes to the redirection url. Can anyone tell me why that would be?
I have no idea.