# "Block of IPs"

**URL:** <https://forum.kirupa.com/t/block-of-ips/172224>\
**Category:** programming\
**Created:** [December 12, 2005, 1:28pm UTC](https://forum.kirupa.com/t/block-of-ips/172224 "2005-12-12T13:28:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek1](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@abhishek1](https://forum.kirupa.com/u/abhishek1)\
**Post date:** [December 12, 2005, 1:28pm UTC](https://forum.kirupa.com/t/block-of-ips/172224/1 "2005-12-12T13:28:27Z")

</div>

hi,  
I want to redirect users coming from a block of IP to some other page in my web site. or u can say users coming from a particular block of IP can access my site.:tired:  
Right now i dont have any idea how to do this.:upset:  
I m using PHP4 on apache server with suse linux.  
can you please help me out? i need an example of code if possible.  
i’ll be greatful:hugegrin:  
thanx & regards
