Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IP Address PHP Script

Featured Replies

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... :)

try a site which displays your ip addresses, then check teh source code :) it should work

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? :)

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

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

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.

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*

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 :)

Actually it version 4 and it worked for me, but when I get home Ill send it to you.

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.