Does anyone know of a PHP script which will limit IPs to 2 when they are downloading files ? (So they can only have 2 connections to the server at once).
I made my own PHP script but it is actually serving the file and therefore keeping that php script active. My CPU usage on the machine has jumped up to 57%! I’ve disabled the script for now.
If there isn’t a good PHP script to do this, is it possible to make a htaccess file that would limit the IPs to 2 in certain folders instead?