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)
-   -   Has anybody got a script that will show the surfer his IP? (https://gfy.com/showthread.php?t=56453)

Aussie Rebel 04-10-2002 06:44 PM

Has anybody got a script that will show the surfer his IP?
 
Has anybody got a script or a link that will show the surfer his IP?

Cheers
Aussie Rebel

[Labret] 04-10-2002 06:47 PM

Use a Server Side Include, or SSI

http://www.columbia.edu/acis/webdev/ssi/ssi2.html

Couldnt cut n paste code.. your answer is there.

Aussie Rebel 04-10-2002 07:03 PM

Quote:

Originally posted by [Labret]
Use a Server Side Include, or SSI

http://www.columbia.edu/acis/webdev/ssi/ssi2.html

Couldnt cut n paste code.. your answer is there.

Thanks Labret, but I need a script to use on a free hosted BBS

[Labret] 04-10-2002 07:07 PM

Well, in that case...

Use javascript.

http://javascript.internet.com/user-...p-address.html


Am I the only one who knows how to use Yahoo?

Aussie Rebel 04-10-2002 07:17 PM

Quote:

Originally posted by [Labret]
Well, in that case...

Use javascript.

http://javascript.internet.com/user-...p-address.html


Am I the only one who knows how to use Yahoo?

Thats perfect thanks again:thumbsup

Alky 04-10-2002 07:20 PM

<?php echo "Your IP is: $REMOTE_ADDR"; ?>

Alky 04-10-2002 07:21 PM

< ?php echo "Your IP: $REMOTE_ADDR"; ? >


dont know if this will work, the above post it didnt work if it does replace the space between ? and < and >.

Aussie Rebel 04-10-2002 07:36 PM

Both did'nt work, it must be the host does'nt support it or something

Chris R 04-10-2002 08:41 PM

The javascript trick only works in netscape is my understanding.

Maybe you can iframe it from somewhere else with the ssi - can you see this?

<IFRAME src="http://www.pornking.biz/ip.htm" name="ip_frame" width="350" height="75" frameborder="0" scrolling="no">
</IFRAME>

Aussie Rebel 04-10-2002 10:22 PM

Thanks heaps guys I ended up I framing it and it works fine:thumbsup


Cheers
Aussie Rebel

kmanrox 04-10-2002 10:34 PM

Quote:

Originally posted by Chris R
The javascript trick only works in netscape is my understanding.

Maybe you can iframe it from somewhere else with the ssi - can you see this?

<IFRAME src="http://www.pornking.biz/ip.htm" name="ip_frame" width="350" height="75" frameborder="0" scrolling="no">
</IFRAME>

hey fucker, unhand my ip address!

;-)

bawdy 04-11-2002 05:27 AM

if you got php scare them a little more:

if (getenv(HTTP_X_FORWARDED_FOR)) {
$ip = getenv('HTTP_X_FORWARD_FOR');
$host = gethostbyaddr($ip);
} else {
$ip = getenv('REMOTE_ADDR');
$host = gethostbyaddr($ip);
}



$host often shows them what isp they are using.....

www.eraseyourtracks.com

dadutchdj 04-11-2002 08:20 AM

PHP is the best thing to USE


<?php echo "Your IP: $REMOTE_ADDR"; ?>

like ALKY said

just copy that
and SAVE as *.php

if you wanna insert het between HTML

use this:


<-- ALLL YOUR HTML -->
<? echo "Your IP: $REMOTE_ADDR"; ?>
<-- MORE HTML -->

and save it as *.php

Mzzl Da DJ

ps,
upload in ASCI


All times are GMT -7. The time now is 05:11 PM.

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