הינה סקריפט נחמד שאני הכנתי =]
PHP קוד:
<?
$email = "*"; // replace * to your email addres, exemple = bla@mail.co.il
$part1 = "http://www.ripe.net/perl/whois?form_type=simple&full_query_string=&searchtext=";
$part2 = "&do_search=Search";
$ip = $_SERVER['REMOTE_ADDR'];
echo "Your ip is: $ip";
mail("$email","Vistor ip","The ip of the vistor is: $ip.\n\nMore about the ip: $part1$ip$part2.\n\n\nBy Ip Finder 1.3");
?>
הסקריפט הזה לוקח את האיפי של המשתמש, ומציג לו אותו בדף, באותו הזמן הוא שולח לאימייל שתגדירו את האיפי אם כמה אפשרויות קטנות.
סקריפט נחמד

המטרה של הסקריפט היא ללימוד השפה, ולא לשימוש לרעה.