Ad block is installed and active. Please support us by disabling it.
HomeSaturday, January 20, 2018, 16:55:04
2

Block Visitors From Specific IP Address

Tuesday, February 10, 15, 15:26:02, 3 Yaers Ago Via wain, Hits: 3645
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

How to check checkbox checked

Checking if checkbox is checked with jQuery

PHP highlight_string - PHP Tutorial

Outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP. Requirement(s): PHP Server.

Addslashes - Stripslashes

addslashes — quote string with slashes, stripslashes — un-quotes a quoted string

PHP Jquery Form

PHP Jquery Form allow your visitors to contact you directly from your website.

Link Generator PHP Script

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

Meta Tags Generator 1.1. PHP Script

This script will allow your visitors to create meta tags online.

php Array

These functions allow you to interact with and manipulate arrays in various ways. Arrays are essential for storing, managing, and operating on sets of variables.

Stack Overflow Clone Script - Ja2BU

Open source question and answer script written in PHP, MySQL and jQuery. Main features are: SEO friendly url's, private message system, rating system, comments system.

Random MySQL Query

Random MySQL query, requirement(s): PHP Server, MySQL

PHP Links Script 1.1.

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. The script is easy to customize to suit your needs.
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.