Changeset 185105
- Timestamp:
- 12/20/2009 12:05:39 AM (16 years ago)
- Location:
- ttc-user-registration-bot-detector/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
ttc_user_registration.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ttc-user-registration-bot-detector/trunk/readme.txt
r83919 r185105 4 4 Requires at least: 2.5 5 5 Tested up to: 2.5.1 6 Stable tag: 1. 86 Stable tag: 1.9 7 7 8 8 This plugin blocks and logs most bot user registrations. -
ttc-user-registration-bot-detector/trunk/ttc_user_registration.php
r83919 r185105 3 3 /* 4 4 Plugin Name: TimesToCome Stop Bot Registration 5 Version: 1. 85 Version: 1.9 6 6 Plugin URI: http://herselfswebtools.com/2008/06/wordpress-plugin-to-prevent-bot-registrations.html 7 7 Description: Stop bots from registering as users … … 34 34 if ( strlen($http_accept ) > 200 ) { $http_accept = substr ( $http_accept, 0, 200 ); } 35 35 if ( strlen($http_user_agent ) > 200 ) { $http_user_agent = substr ( $http_user_agent, 0, 200 ); } 36 37 // clean input for database 38 $http_accept = htmlentities($http_accept); 39 $http_user_agent = htmlentities($http_user_agent); 40 $http_remote_addr = htmlentities($http_remote_addr); 41 $http_request_uri = htmlentities($html_request_uri); 42 43 36 44 37 45 $sql = "INSERT INTO " . $registration_log_table_name . " ( ip, email, problem, accept, agent, day )
Note: See TracChangeset
for help on using the changeset viewer.