CODE: Javascript to display user's IP

SpaceshipSpaceship
SpaceshipSpaceship
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
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
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
•••
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
•••
Olitt — high-converting AI websites, only from $1/moOlitt — high-converting AI websites, only from $1/mo

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
URLs.com
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back