hello people .
I try to block access register page to my chat with this code:
but not block registration 4 sfecific number...
why???where I wrong???
great to help
I try to block access register page to my chat with this code:
Code:
<?php
$mobile = "blocked2.php";
$text = $_SERVER["HTTP_X_UP_SUBNO"];
$var[0] = '1234567890';
if(in_array($text, $var))
{
header("Location: " . $mobile);
exit();
}
?>
why???where I wrong???
great to help

Comment