|
General Details
|
|
PHP (Hypertext Preprocess...
|
|
Posted 207 Days Ago
|
|
257 Views
|
|
Received 1 Rating
|
|
Restrict site viewing to a Range of IPs
Description
A simple function to restrict site viewing to a range of IPs.
Source Code
Comments
| Please login to post comments. |
|
|
.htaccess files are slow and not always completely reliable.
Also, not all hosts allow for .htaccess files.
|
|
|
.htaccess files, anyone? :)
|
|
|
Yeah, good point.
I'll update this to have both, cheers.
|
|
|
Oh and i think you should pass the IPs ($fromip, $toip) via function parameters.
|
|
|
Hey thats quite a neat little function! I like it, does exactly what its ment to :-)
Kind regards,
Scott
|
More "PHP (Hypertext Preprocessor)" Source Codes By This Author
Recently Posted "PHP (Hypertext Preprocessor)" Source Codes
Recently Rated "PHP (Hypertext Preprocessor)" Source Codes
|