Tag Archives: IP

Show users IP in a graphic – PHP Script

Show IP Display visitor’s IP Address in a graphic with this simple php code. (Please do not link to this image, it is for demonstration only.) create a new page, copy the text below and save it as image.php (or … Continue reading

Posted in php code | Tagged , , | 6 Comments

Blocking based on a specific IP with htaccess

Do you have a certain IP address or a (handful) that is always causing you problems on your site? Redirect them with this easy few lines of code in your .htaccess file. Replace the xx’s with the IP numbers. RewriteEngine … Continue reading

Posted in other stuff | Tagged , , | Leave a comment