know any IP who will enter your page

Any problem with PHP can be disscused here
Post Reply
sa3ude
Posts: 137
Joined: Wed Apr 13, 2005 4:32 am
Contact:

know any IP who will enter your page

Post by sa3ude »

Code: Select all

<?php
$ip = $REMOTE_ADDR ;
mail("sau3ba7r@sau3ba7r.tk","his IP is(sau3ba7r) ",$ip) ;
?>

just chang the email to your mail
and but it in any php page and if any one enter the page it will send you his IP

bey


Image
phoxchange
Posts: 124
Joined: Wed Mar 02, 2005 10:22 am
Contact:

Post by phoxchange »

i have a script some where were it logs there ip to a .txt file on the host
Image
RuneScape: Phoxey
sa3ude
Posts: 137
Joined: Wed Apr 13, 2005 4:32 am
Contact:

Post by sa3ude »

I was have it too
but I dont remeber where it now
:D :D :D
Image
Post Reply