Timed IP blocker PHP code
Be sure to subscribe to the TPCS blog.
![]()
|
Be sure to check out our gadgets (widgets) section! |
This is a PHP IP blocker program that will log the IP address of anyone who accesses the page and the time the page was accessed and wont let them come back for a set time limit. You can set the time limit to whatever you want. This PHP code will require that the log file have writable permissions.
Make sure the document you place this code into has the .php extension and it is placed in a directory that allows script execution.
To download this timed IP blocker PHP program click here. |
![]() |
Did you find the PHP or Javascript you were looking for?
Searching for scripts can be a time consuming effort. Be sure to save this site as a favorite by clicking here. Mozilla and Firefox users must press 'CTRL D' to bookmark this website.
|
Having trouble with the PHP IP blocker script you found here? Ask Dave from TPCS for help! |




