View Single Post
  #10  
Old 28th January 2008, 23:34
seb35 seb35 is offline
Senior Member
 
Join Date: Dec 2007
France
Posts: 32
Default Re: Torrent Strike*X-Edition v1.1
Fix error

in cleanup find:
Code:
sql_query("DELETE FROM captcha WHERE dateline < $dt") or sqlerr(__FILE__,__LINE__);
and change to:
Code:
mysql_query("DELETE FROM captcha WHERE dateline < $dt") or sqlerr(__FILE__,__LINE__);
put in db

Code:
CREATE TABLE `captcha` (
`imagehash` varchar(32) NOT NULL default '',
`imagestring` varchar(8) NOT NULL default '',
`dateline` bigint(30) NOT NULL default '0',
KEY `imagehash` (`imagehash`),
KEY `dateline` (`dateline`)
) ENGINE=MyISAM;
Reply With Quote
The Following User Says Thank You to seb35 For This Useful Post:
b33z (13th April 2009)