Just wanted to get a "once over" by anyone with time.Anything horrible stick out?
PHP Code:<?php
//Load global.php
require_once('./global.php');
//Clean GET variabls
$vbulletin->input->clean_array_gpc('g', array(
'r' => TYPE_NOHTML,
'g' => TYPE_UINT
));
//Login and Redirect
if (!is_member_of($vbulletin->userinfo, $vbulletin->GPC['g']))
{
print_no_permission();
} else {
header("Location:". $vbulletin->GPC['r']) ;
}
?>


Anything horrible stick out?





Reply With Quote