You can change color="#FF3300" to color="yourcolor" by choosing a web safe color from here http://www.december.com/html/spec/colorsafe.html
You can change face="courier" to face="yourfont" by choosing a web safe font from here
http://www.angelfire.com/fl5/html-tutorial/fontlist.htm
You can change size="3" to size="yourfontsize"
Center position
<font size="3" color="#FF3300" face="courier">
<?php
####################################################
# whatismyip-address.blogspot.com #
# Please do not change anything inside the php code#
####################################################
$ip = getenv("REMOTE_ADDR") ;
Echo "<center>Your <a style='text-decoration:none' href='http://whatismyip-address.blogspot.com'>IP</a> is";
Echo "<br />";
Echo $ip . "</center>" ;
?>
</font>
<?php
####################################################
# whatismyip-address.blogspot.com #
# Please do not change anything inside the php code#
####################################################
$ip = getenv("REMOTE_ADDR") ;
Echo "<center>Your <a style='text-decoration:none' href='http://whatismyip-address.blogspot.com'>IP</a> is";
Echo "<br />";
Echo $ip . "</center>" ;
?>
</font>
Left position
<font size="3" color="#FF3300" face="courier">
<?php
####################################################
# whatismyip-address.blogspot.com #
# Please do not change anything inside the php code#
####################################################
$ip = getenv("REMOTE_ADDR") ;
Echo "Your <a style='text-decoration:none' href='http://whatismyip-address.blogspot.com'>IP</a> is";
Echo "<br />";
Echo $ip;
?>
</font>
<?php
####################################################
# whatismyip-address.blogspot.com #
# Please do not change anything inside the php code#
####################################################
$ip = getenv("REMOTE_ADDR") ;
Echo "Your <a style='text-decoration:none' href='http://whatismyip-address.blogspot.com'>IP</a> is";
Echo "<br />";
Echo $ip;
?>
</font>
Instructions:
Step 1: Choose a file with a .php extension open it and copy one of the codes above.
Step 2: Place the code anywhere between the body tags like this.
<html>
<head>
</head>
<body>
Place php code anywhere here
</body>
</html>
Step 3: Click save. Your Done!
Thanks for this! It was very easy to apply.
ReplyDeleteThis does not work on blogger. I used this one instead Link
ReplyDeleteI am changing my proxy settings and need to find my script address - do you know how
ReplyDeleteNice article ! I would like to add php code snippet to find an ip address :
ReplyDelete$ip=$_SERVER['REMOTE_ADDR'];
echo "IP address= $ip";
If you want to know your static ip address, use Ip-details.com
To protect yourself on the internet kindly check What is My IP Tools for your security.
ReplyDelete