Hey, does anyone know the HTML code where it displays the viewers IP address?
Thanks in advance,
-Adam

Hey, does anyone know the HTML code where it displays the viewers IP address?
Thanks in advance,
-Adam
<script language="JavaScript">
VIH_BackColor = "white";
VIH_ForeColor = "black";
VIH_FontPix = "16";
VIH_DisplayFormat = "You are visiting from:<br>IP Address: %%IP%%<br>Host: %%HOST%%";
</script>
<script language="JavaScript" src="http://www.hashemian.com/js/visitorIPHOST.js.php"></scriptNewsie
Thanks, +rep
Thats javascript www.zymic.com goto php they got better ones than tht junk lolOriginally Posted by Newsie
Newsie
Hm..
How do I make "Your IP (blah blah) has been recorded." ?
In a form or just in general
<script language="JavaScript">
VIH_BackColor = "white";
VIH_ForeColor = "black";
VIH_FontPix = "16";
VIH_DisplayFormat = "Your IP has been recorded:<br> %%IP%%<br>";
</script>
<script language="JavaScript" src="http://www.hashemian.com/js/visitorIPHOST.js.php"></scriptNewsie
How do I get it without the host bit? I just want the IP and when I remove the bottom it f_cks up.
Sorry, no clue.
Newsie
PHP Code:<?php
$ip = $_SERVER['REMOTE_ADDR'];
echo $ip;
?>
kinda quit.
Want to hide these adverts? Register an account for free!