Categories
-
Recent Posts
Archives
Meta
This website uses cookies to personalise content and to analyse our traffic.
Necessary - Necessary cookies needed to make a website usable by enabling basic functions. The website cannot function properly without these cookies. (always active) | |
Marketing - Marketing cookies are used to track visitors across websites. |
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 – …