Disclaimer: I do not accept responsibility for any issues arising from scripts being run without adequate understanding. It is the user's responsibility to review and assess any code before execution. More information

Add your IP Address to Wordpress..

If you want to add your IP address to a Wordpress Blog then you can complete the following actions with the code below:

[php]<?php
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
if ($ip)
{
// Note that HTTP_X_FORWARDED can contain multiple IP addresses
$ip = explode(',', $ip);
$ip = $ip[0];
$proxy = $_SERVER['REMOTE_ADDR'];
echo '

Your IP address is: '.$ip.'
Your proxy: '.$proxy.'

';
}
else
{
$ip = $_SERVER['REMOTE_ADDR'];
echo '

Your IP address is: '.$ip.'

';
}
?>
[/php]
Previous Post Next Post

نموذج الاتصال