grucker Posted May 20, 2010 Report Posted May 20, 2010 Is it possible to stop certain ip addresses viewing a website using php coding. Thanks, David Quote
falkencreative Posted May 20, 2010 Report Posted May 20, 2010 Yes: http://perishablepress.com/press/2007/07/03/how-to-block-ip-addresses-with-php/ I'm sure that a Google search will bring you other options as well, including banning IP addresses using an .htaccess file. Quote
jstern Posted May 20, 2010 Report Posted May 20, 2010 I like using SQL Database to store my 'blocked' or banned IP addresses and use my front controller to access that right off the bat. I can give them a nasty lil message too! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.