Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

CODE: Javascript to display user's IP

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
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
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Member card: see how many threads a member started
The member card now shows a Threads number, right after Posts. The member card is the box that opens when you point at a name. Profile...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back