Version: 4.1.61
URL:
|
idaida
Beginner Usergroup: Customer Joined: Apr 02, 2010 Total Topics: 2 Total Posts: 4 |
Posted 04/04/10 - 4:31 AM:
Hello, Was wondering if this cron job would work ok. My captcha stopped working so I want to delete spam members that get past my javascript form validation. I want to delete any members that do not have "human" typed in the field called visitor.. $db->delete('memberstable', "visitor != "human"); Thank you! |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 04/06/10 - 5:02 PM:
Use single quotes inside the double quotes: <?php // member deletion cron Save that as a .php file and add it in the crons area and it'll work, yes. That leaves them time to do stuff before being deleted though. GD has been bundled with PHP for years, so I don't see how your CAPTCHA could stop working. Edited by Paul on 04/10/10 - 12:55 AM |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print