I dont know what you want to do with someone's IP but here is how to:
1> download the .rar file in attachment.
2> upload them to some freehosting,whichever u think is good.
3> send the link of your index.php file to your victim and his/her IP will be send to you on your "IP" file.
Simple.
Getting someone's IP in seconds with PHP notification script
- Sethioz
- Admin
- Posts: 4762
- Joined: Fri Jul 27, 2007 5:11 pm
- Custom: Gaming YT > https://youtube.com/SethiozEntertainment
Game Hacking YT > https://youtube.com/sethioz
Game Hacks Store > https://sethioz.com/shopz - Location: unknown
- Contact:
Re: Getting someone's IP in seconds with PHP notification sc
why is this in pc hacking ? its more like programming and coding. i have logger/s on my site for ages, im using this:
replace path with the file where you want to save the log. think that extension can be any, but it is designed to log in html.
it means its easier to read it in html, but extension shouldnt change anything.
Code: Select all
function logIP() {
$ipLog="path/to/your/ip/log_output.html";
$register_globals = (bool) ini_get('register_gobals');
if ($register_globals) $ip = getenv(REMOTE_ADDR);
else $ip = $_SERVER['REMOTE_ADDR'];
$date=date ("l dS of F Y h:i:s A");
$log=fopen("$ipLog", "a+");
if (preg_match("/\bhtm\b/i", $ipLog) || preg_match("/\bhtml\b/i", $ipLog)) {
fputs($log, "IP: $ip - Date: $date<br>");
} else fputs($log, "IP: $ip - Date: $date\n");
fclose($log);
}
logIp();
Code: Select all
$ipLog="path/to/your/ip/log_output.html";
it means its easier to read it in html, but extension shouldnt change anything.