![]() |
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 |
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. |
Quote:
|
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? |
Quote:
|
<?php echo "Your IP is: $REMOTE_ADDR"; ?>
|
< ?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 >. |
Both did'nt work, it must be the host does'nt support it or something
|
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> |
Thanks heaps guys I ended up I framing it and it works fine:thumbsup
Cheers Aussie Rebel |
Quote:
;-) |
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 |
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