GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Who knows how to display a persons IP address? (https://gfy.com/showthread.php?t=92854)

smut416 12-09-2002 02:23 PM

Who knows how to display a persons IP address?
 
Anybody know how to make someones IP address show up on a webpage? How do you make that persons IP address show up when they visit my site? I want to put this on my sign-up page but don't know how. Anyone? Anyone? Bueller? Bueller?

pr0 12-09-2002 02:25 PM

http://www.candidlinks.com/pro.php

theking 12-09-2002 02:27 PM

It can be done using javascript. Check out some major javascript sites for free scripts that will do this.

smut416 12-09-2002 02:27 PM

How is that done? How do you display my IP address??

kenny 12-09-2002 02:29 PM

[!--#echo var='REMOTE_ADDR' --]

Or something like that cant remember exactly

heymatty 12-09-2002 02:30 PM

http://www.nordlander.com/erik/ip.shtml

Rory 12-09-2002 02:31 PM

PHP Code:

<?php
$ip 
$_SERVER['REMOTE_ADDR'];
echo 
"$ip";
?>


smut416 12-09-2002 02:32 PM

That doesnt work with IE matty, im checking javascript sites now...

hyper 12-09-2002 02:36 PM

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin



if ((navigator.appVersion.indexOf("4.") != -1) && (navigator.appName.indexOf("Netscape") != -1)){
ip = "" + java.net.InetAddress.getLocalHost().getHostAddress ();
document.write("Your IP address is " + ip);
}
else {
document.write("IP Address only shown in Netscape with Java enabled!");
}
// End -->
</script>

boldy 12-09-2002 03:23 PM

127.0.0.1


All times are GMT -7. The time now is 05:50 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123