CODE: Javascript to display user's IP

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Namecheap AuctionsNamecheap Auctions
Watch

111111z

Established Member
Impact
10
Another Way to Display the IP Address on a HTML Page

http://sendmyip.com/ipjava.htm

Source code for the about \/ \/ \/ \/

<script src="http://sendmyip.com/ipjs.php" </script></script>
<p><font face="Arial Narrow">Your IP is </font>
<SCRIPT LANGUAGE="JavaScript">
document.title = "Your IP is "+ip;
document.write(ip)
</script>
</p>
 
Last edited:
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I like it, i am new - ish to javascript and want to learn how to mix PHP and JS together :p its cool lol
 
0
Close
Javascript is good for client execution, but PHP is taking over....
The Javascript is good for peps on geocities and stuff.
Come on guys, how in the heck could you compare PHP and JS? Two different worlds. PHP is server side, JS is client side, each has it's own purpose.
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back