clothes store     


PHP syntax shows up blank.....

I Need Help!!!?

When I go to answer a Q I ca..

My wirless home network will..

Need help adding something t..

Why is Congress going to gra..

How to stream audio on all p..

Web Developer with Database ..

Headache website publishing?

Freewebs.com question ASAP?

Freewebs.com question?

I published my asp.net websi..

Help!!! Could someone please..

What is the best way to publ..

How do I enter the web addre..

Ebay ideas? help plz?

Whats the best hosting site ..

What is the best free webhos..

Webhosting for my Store?

Password problem?

Good website package?

Why is my wordpress blog loa..

Is this french?

I Need Help With Registratio..

Can someone tell me how to r..

Need Microsoft FrontPage Gur..

GoDaddy Email Form help for ..

Question For An Experienced ..

Asp.net IIS problem?

Please check whether <a h..

Creating ecommerce website t..

What the #@%! is up with MS ..

Website Question!?

What happened at the pentago..

Filezilla and GoDaddy?

Can I transfer a website whi..

Can I use Internet Explorer ..

Help needed in image uploadi..

Exploit.ANIFile on my own We..
 
How do I block IP address ranges from viewing my personal website?    [Imwebhost]

I've been using the JavaScript found here: http://www.javascriptkit.com/script/scri... and it works for individual IP addresses, but have not figured out how to write the formula for a range of IP numbers. I would like to block the range 166.128.0.0 - 166.255.255.255.

Note: My web host is Yahoo! and they do not give their users access to the .htaccess file, that's why I'm using JavaScript code on the page instead.

How do I block IP address ranges from viewing my personal website?

<html>

<head>

<script>

// block a range or ranges of ip addresses

// use SSI to parse ip address into page, assigning

// resulting value to global JavaScript variable

var ipAddress = '<!--#echo var="REMOTE_ADDR"-->';

ipAddress = formatQuadTripleIp(ipAddress);

ipAddress = parseFloat(ipAddress);

// give a list of range bounds for ip addresses:

// each item is a pair of ip addresses as

// [lower bound, upper bound]

// each bound pair should be a comma-separated

// pair of ip addresses enclosed in

// square brackets and separated from

// the following pair by a comma

// each ip bound value should be a complete

// quad-triplet as "###nnn###nnn".

var ipBoundPairs = [

['001002003004', '001002003999'],

['011002003004', '011002003999'],


[Imwebhost]


How do I count image views from my website?
A question about IIS 6.0 and posting multiple webpages.?
Why am I getting this error in ASP.NET 2.0 ?
I have the following code. It&#039;s suppose to display ..
Internet problems please help 10 pts!?
I need a free, open user, forum for my website (no logins)?
Micheal basin show 3pm on wzak 93fm radio show help please?
What is the best source for a small business owner with mode..
Help needed with CRONTAB on linux shared hosting. How do I a..
Dot Net Nuke Software Question!?



Comment
Name: Name:  Password:   Register?
Comment:
Face