Ad block is installed and active. Please support us by disabling it.
HomeThursday, September 21, 2017, 03:25:12
2

Block Visitors From Specific IP Address

Tuesday, February 10, 15, 15:26:02, 3 Yaers Ago Via wain, Hits: 2976
Learn How To Restrict Users From Different IP Addresses.
Example (.htaccess):
Code:
order allow,deny
deny from 69.64.240.42
deny from 70.89.104.61
deny from 46.17.100.138
deny from 67.228.55.48
deny from 176.14.135.159
allow from all


Example (.php):
Code:
<?php
$ip=$_SERVER['REMOTE_ADDR'];
if($ip == '66.230.230.230'){
die();
}
if($ip == '87.118.104.203'){
die();
}
if($ip == '74.208.243.167'){
die();
?>

Sign In

Sponsor

Related

PHP form with image upload

Advanced Contact Form with email and form field validation.It allows your visitors to send you an email directly from your website.Features: Image Upload, HTML Output, Captcha Image.

Link Base Pro :: Free Link Index Script

This script allows you to manage your links using a MySQL database. It features easy install, user submission, and an admin panel to add, edit and remove categories and links.

Process Form Data with Jquery

jQuery, Process form data

PHP Form Validation

PHP form validation :: PHP tutorial, requirement(s): PHP Server

HTML Button Generator

This script will allow your visitors to create HTML Buttons online. To use the "html button generator" script completely free , the "powered by" link at the bottom of the pages must stay intact.

Upload Attachment - PHP Tutorial

Upload attachment with PHP example, Requirement(s): PHP server

Upload File with PHP

Basic file uploading with PHP

PHP form with file upload

Advanced Contact Form with email and form field validation. It allows your visitors to send you an email directly from your website.

Filter Words in PHP - PHP Tutorial

Filter bad words in PHP, requirement(s): PHP server

MySQL Inner Join

MySQL Inner Join - Creating Dynamic Webpages Using PHP and MySQL, Requirement(s): PHP Server, MySQL
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Thu, Jun 15, 17
So far has created 115 entries.
wain
This author has not yet filled in any details.