how do i insert a country or host .txt when i add a inlude ip detector
Ip
Collapse
X
-
hardraveTags: None
-
hardrave -
hardrave
thank u only where do i add that??try this
[/b]Code:<?php $ip = $_SERVER['REMOTE_ADDR']; $fullhost = gethostbyaddr($ip); $host = preg_replace("/^[^.]+./", "$ip.", $fullhost); ?> IP address <?=$ip?> | Host: <?=$host?>
Comment
-
try this
[/b]Code:<?php $ip = $_SERVER['REMOTE_ADDR']; $fullhost = gethostbyaddr($ip); $host = preg_replace("/^[^.]+./", "$ip.", $fullhost); ?> IP address <?=$ip?> | Host: <?=$host?>
cn it b modified 4 lava script?
i'd like 2 put tht in user profile so admin/mods cn c the country/host....
plssigpiceeeeerrr....
Comment
-
ok so say if i logged into a chat site, and i went to visit a profile and it had that code inserted it would come up with my ip details not the users profile i am visiting. i think to get the user pprofile i may b visitng u will need a database involvd to store the ip once theyv loged in and then a code 2 display it
Comment
Comment