|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Pommy
Ok I have a shoutboard on my website that someone has flooded. I know his IP/DNS I want to know how to ban him from my website? Is this possible with PHP/SQL database? Help.
|
|
#2
|
|||
|
|||
|
RE: Pommy
You can ban him in an .htaccess file...put this in an .htaccess file in the root of your web dir:
order allow,deny deny from 123.456.78.90 allow from all Obviously replace 123.456.78.90 with the users IP address. You can also do it by host: order allow,deny deny from *.host.com allow from all You can do something similar with PHP, but you would need to add code to each page on your site.... |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > Pommy |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|