Spamfilter

Started on the old forum in August 2007 · view the original in the archive · old links redirect here

3 replies · 638 views · started 19 years ago · 1 min read

2 participants
WhiteWarrior Principal · 1,419 posts #2

i have all the scripts the site but its the sql table am not sure wot to put in the table.

what script you using?

nclemale36 Lead · 537 posts #4

sp

$number_of_rows2 = mysql_num_rows($result); $sql = "SELECT * FROM spamfilter LIMIT $limit,10"; $result = mysql_query($sql);

$number_of_rows = mysql_num_rows($result); $start = $number_of_rows - $number_of_rows; while ($start < $number_of_rows ){

(get errors on these 2 lines below) $from_who=(mysql_result($result,$start,"from_username")); $been_read=(mysql_result($result,$start,"has_it_been_read"));

this is the database

DROP TABLE IF EXISTS spamfilter; CREATE TABLE IF NOT EXISTS spamfilter ( id int(100) NOT NULL auto_increment, word1 varchar(80) NOT NULL default '', word2 varchar(80) NOT NULL default '', PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;

Sign in to reply.

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close