vBulletin already has some buildin options to prevent overloading of the server (think for example about delay time between 2 searches). Other then that a (D)DOS should not be mitigated from the application, but as mentioned before on router/server level. Doing so in PHP would use extra server resources, and you are doing this to prevent the use of too many resources.
|