HomeMonday, July 23, 2018, 11:25:06
2

Block Visitors From Specific IP Address

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

ShoutBox 1.1. PHP Script

ShoutBox allows your users to post short messages on your site. The script is lightweight and very easy to install and use.

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.

Creating a CAPTCHA with PHP :: PHP Tutorial

Captcha Image, This tutorial will show you how to create a form with Captcha.

PHP filesize

The filesize function returns the size of the specified file.

RSS, MySQL & Smarty

Smarty > Publishing MySQL Data in RSS 2.0

PHP str_replace

str_replace - This function returns a string or an array with all occurrences of search in subject replaced with the given replace value

Sending HTML Email With Images - PHP Tutorial

Sending HTML Email With Images - Upload Image with PHP - Creating Dynamic Webpages Using PHP and MySQL - Select, Delete, Update..

Contact Us Form With Captcha

A contact us form with email and form field validation. It allows your visitors to send you an email directly from your website. Features: Captcha Image, HTML output.

Contact Us PHP Form 1.1.

A contact us form with email and form field validation. It allows your visitors to send you an email directly from your website.

Preg_Match - PHP Form Validation

PHP form validation with preg_match
About Author

wain

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