Go Back   Cloud Computing > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-23-11, 04:54
BOD Member
 
Join Date: Dec 2010
Location: Canada
Posts: 18
Default How to block the particular traced IP by PHP script?

Hello every body please suggest me regarding IP blocking script .I have script to find out the IP of the visitor of the particular region .Now problem is how to block the that traced IP?

HTML Code:
<script language="JavaScript" src="http://www.find-ip-address.org/show-ip.php" type="text/JavaScript"></script><br /><a href="http://www.find-ip-address.org/">IP Lookup</a> powered by a href="http://www.find-ip-address.org/">Find IP Address</a>
Reply With Quote
  #2 (permalink)  
Old 02-24-11, 04:49
paullopez's Avatar
Administrator
 
Join Date: Nov 2010
Posts: 195
Default

I think there is no need to block IP from script when the similar task can be done through web control panel easily. For ex. If you are using cPanel control panel, then you will find there is an IP deny manager option to block certain IP or Domain or you can also block the entire range of IP address to prevent them accessing your website.
__________________
"I'm not anti-social; I'm just not user friendly"
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 01:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.