I use the following code to obtain the IP ADDRESS of the visitors. It worked fine until five days ago when Vodahost changed the IP for my domain.
How do I set the register_globals = OFF in the ini.php ?
The PHP code I use is this:
<?php
// if register_globals_is set to off en ini.php, se aplica este formato
//$Ip=$_SERVER['REMOTE_ADDR'];
$Ip=@$REMOTE_ADDR;
echo "<font color='red'>";
echo $Ip;
//echo int()$Ip;
?>
How do I set the register_globals = OFF in the ini.php ?
The PHP code I use is this:
<?php
// if register_globals_is set to off en ini.php, se aplica este formato
//$Ip=$_SERVER['REMOTE_ADDR'];
$Ip=@$REMOTE_ADDR;
echo "<font color='red'>";
echo $Ip;
//echo int()$Ip;
?>
Comment