Categories
-
Recent Posts
Archives
Meta
Below you can find a simple php script that blocks ip addresses. It uses a function (called iplong) that converts the standard IPv4 address to a long int value and the main function (ban) that checks if a provided ip can be found in a list of blocked addresses. Hope you will find this useful. …
Somebody asked me in the past what are the differences between suPHP and mod_php and which one is the best so I will try to list the pros and cons between those two: Performance related mod_php and by far the winner since it is about 30% faster than suPHP. How do they work: suPHP – …