HomeSunday, May 27, 2018, 17:57:49
2

Block Visitors From Specific IP Address

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

trim() Strip whitespace (or other characters) from the beginning and end of a string.

Addslashes - Stripslashes

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

Captcha V2 - Free PHP Script

PHP Captcha protection image Version 2, - Requirement(s): PHP Server, GD Library

PHP Redirect

Header (location) redirect must be processed before any output to the browser.

PHP Str_replace - PHP Tutorial

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

Show / Hide Div with CSS

CSS Display and Visibility:The visibility property specifies whether or not an element is visible.

PHP Fwrite : fwrite

php write to file - how to write data to a file using the php frwite function

PHP Form Validation

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

Upload File with PHP

Basic file uploading with PHP
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.