Jump to content

Recommended Posts

Posted

Guys, what's the PHP script that will display the EXTERNAL IP address? I don't mean the IP address given to a computer on a network, I mean one given to a modem... :)


Posted

i could help you if you wanted it in ASP,ASPX.

but know nothing about PHP. :rolleyes:

in asp you need to request a server variable, may be its the same in PHP? :)

Posted

oh btw.......

Replace <?php

print ('Your IP is: '.$REMOTE_ADDR.'.');

?> with <?php

print ('<font size="X">Your IP is: '.$REMOTE_ADDR.'.</font>');

?> where X is the font size between 1 and 5

If you want to change the sizes

Posted

You are all wrong, he said an IP given to a modem not the users IP and all that font crap :)

When coding a site I use the KISS way

K - Keep

I - It

S - Simple

S - Stupid

try looking for IP code snippetts on google because most of the minter codes are not on the main sites like hotscripts because people dont like giving them away

I would try http://netcode.tk

Glitch

Posted

Glitch, its short and simple and the code couldnt be any better really, its only function is to print an IP adress, its not hes coding for a whole site.

And theres alot of open source scripts on hotscripts that are amazing really and makes me wonder why developers are charging people to use and view their source code. But still people do still sell their codes on hotscripts.

Posted
You are all wrong, he said an IP given to a modem not the users IP and all that font crap  :)

Modem is the user IP. And could you be any more ruder?

That script gives the IP to the modem, not the IP within a network, as he asked for.

And as you would say all that font crap, that was simply just if he wanted to edit it.

*Future note, be a little nicer in your replies*

Posted
You are all wrong, he said an IP given to a modem not the users IP and all that font crap  :rolleyes:

When coding a site I use the KISS way

K - Keep

I - It

S - Simple

S - Stupid

try looking for IP code snippetts on google because most of the minter codes are not on the main sites like hotscripts because people dont like giving them away

I would try http://netcode.tk

Glitch

yo, what Xperties gave out was as simple as b & w. dont call people stupid, it starts arguments, and don't say crap when theres no need to :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...