quote:
Originally posted by DJeX
Where can I edit the htaccess? Or do I have to make one?
You need to make one... You can make several ones and put them in different directories. But I don't know much about .htaccess so I can't help you with that really.
quote:
Originally posted by anubis_kree_
Couldn't a JavaScript code do the same if PHP is unsupported?
Theoretically, it could do something of the sort, but it would be quite stupid to do it that way.
You'd have to print the IP address in the code somewhere, which again requires PHP (or other server-side script)... And the banned user could still read the source or simply disable JavaScript. It's stupid.
quote:
Originally posted by reisyboy
How can you block IP on ur PC? Is it in the HOSTS?
No, that simply acts as DNS cache which overrides DNS lookups on your computer. It can be abused to block access to certain domain names from your PC (by pointing them to localhost or something), but not actual IP addresses. You'd have to use a firewall to do that.