Posted on: 03/23/06 07:45pm
By: d404
function phpblock_emn()
{
$retval .="
<?php
if (getenv('HTTP_X_FORWARDED_FOR'));
{
$ip = getenv('HTTP_X_FORWARDED_FOR');
if ($ip == '')
{
$ip = getenv('REMOTE_ADDR');
}
}
else
{
$ip = getenv('REMOTE_ADDR');
}
?>
";
return $retval;
}
And it is passing code as what is it on . nothing print out for me
ant help ?
help in real IP i can't make it work !
Posted on: 03/24/06 04:05am
By: Dirk
Get rid of those <?php ... ?> in the middle of your code.
bye, Dirk
help in real IP i can't make it work !
Posted on: 03/25/06 12:22pm
By: d404
[QUOTE BY= Dirk] Get rid of those in the middle of your code.
bye, Dirk[/QUOTE]
i did this already ! but nothing go out , and when i view the source i got the hole code show under the title of block
help in real IP i can't make it work !
Posted on: 03/26/06 08:06pm
By: d404
Dirk
R u here ?