Pass it,
Aku sudah upgrade ke 2.0….Tp skrg aku punyai masalah menkonfigurasi sgerror.php engak masuk dngn configurasi 2.0.
ada sapa2 boleh pass kt sini sgerror.php yg asal? aku lupa mau backup sbelum ubah suainya... ini scrip yg aku pakai unutk ubah suai sgerror.php aku, tp engak jalan pada 2.0
**# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IE displayed self-page, if them size > 1024
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function get_error_page($er_code_id, $err_msg='') {
global $err_code;
global $cl;
$str = Array();
header("HTTP/1.1 " . $err_code[$er_code_id]);
$str[] = '';
$str[] = '';
$str[] = '';
$str[] = '';
$str[] = '';
$str[] = '';
if ($cl['n']) $str[] = "Client Name: {$cl['n']} | ";
if ($cl['a']) $str[] = "Client IP: {$cl['a']} | ";
if ($cl['i']) $str[] = "Client User: {$cl['i']} | ";
if ($cl['s']) $str[] = "Group: {$cl['s']} | ";
if ($cl['t']) $str[] = "Category: {$cl['t']} ";
$str[] = '';
$str[] = 'Access Denied!';
$str[] = '';
if ($err_msg) $str[] = '
'. $err_msg.' -
';
if ($cl['u']) $str[] = "
URL: {$cl['u']}
";
$str[] = '
Please contact your Network Administrator if you think there has been an error.
';
$str[] = '
';
$str[] = 'Web Filtering by <a style="color:#FFFFFF;"></a>PfSense and SquidGuard';
$str[] = "";
$str[] = "";
return implode("\n", $str);
}**