<?php $i = getenv('REMOTE_ADDR'); $handle = fopen("../.htaccess", "a"); fwrite($handle, "Deny from $i\n"); fclose($handle); echo "You've just got $i banned from this domain. You are a very bad person."; mail("webmaster@example.com", "Banned IP", "Deny from $i"); ?>
You need to create an account or log in to post comments to this site.