$addr = getenv("REMOTE_ADDR");
$ip = sprintf("%u", ip2long($addr));
$country_query = "SELECT country_name FROM tbl_ips ".
"WHERE ip_from<='".$ip."' ".
"AND ip_to>='".$ip."'";
$country_exec = mysql_query($country_query);
$ccode_array=mysql_fetch_array($country_exec);
$country_name=strtoupper($ccode_array['country_name']);
if ($country_name == "PAKISTAN")
{
if (ch_session('login_auth') == "Yes")
{
}else{
header("Location: http://www.celalinc.com/auth.php");
die;
}
}
?>
-:: CELAL INC. ::-
|
|
|
|
|
|
| |
Uniforms & Accessories | Karate Uniforms |
|
|
| |
|
| |
|
| |
| |
|
|
| |
Copyright
2009 Celal Inc. All rights reserved. |
|
|
|
|
|