Coder Profile - Show off your skills, get a coder profile.
 
 
 
The Author
urbn
Jay Donachie
Send A Message
Rating
8.00
out of 10
( 1 Ratings )
Please login to rate source codes.

Click here to register a free account with us.
General Details
PHP (Hypertext Preprocess...
Posted 207 Days Ago
257 Views
Received 1 Rating
More Codes By This Author
Unique Hits Counter
Restrict site viewing to...
Drop down dates
Calculating Age
Articles By This Author
HTML vs XHTML

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.
 
urbn     Posted 182 Days Ago
 
 
.htaccess files are slow and not always completely reliable.

Also, not all hosts allow for .htaccess files.
 
Pragmatk     Posted 182 Days Ago
 
 
.htaccess files, anyone? :)
 
urbn     Posted 188 Days Ago
 
 
Yeah, good point.

I'll update this to have both, cheers.
 
VBAssassin     Posted 190 Days Ago
 
 
Oh and i think you should pass the IPs ($fromip, $toip) via function parameters.
 
VBAssassin     Posted 190 Days Ago
 
 
Hey thats quite a neat little function! I like it, does exactly what its ment to :-)

Kind regards,
Scott
Page 1 of 1
More "PHP (Hypertext Preprocessor)" Source Codes By This Author
Recently Posted "PHP (Hypertext Preprocessor)" Source Codes
Recently Rated "PHP (Hypertext Preprocessor)" Source Codes
 
 
Part of the MyPingle Network
Development Blog :: Make A Donation :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents
Version 1.44.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved