You are here: Re: bad word list 4 guestbook « All PHP « IT news, forums, messages
Re: bad word list 4 guestbook

Posted by WeeWillyTonka on 09/28/62 11:29

"Dasdan" <dasdan20_antispam@hotmail.com> wrote in message
news:mn.7c3d7d5a84b62f55.41130@hotmail.com...
> <snip>
:
: hey,
:
: your code looks good at first glance
:
: you don't need the ob_start ... stuff for validating input,
:
: you need to use it in you output page.
:
:
:
:
: --
:
: Kevin Wood AKA Dasdan
: http://www.dasdan.be
:
:
I have taken a look at
http://uk2.php.net/str_replace

I don't think this is what I would need "Then I could be wrong which happens
a lot"
My understanding of this str_replace is to replace one thing with something
else . I
think a better way would be to check the 'comment' some how and if it
contains a
bad word just redirect to a new page .(personalised to we don't like
spammers)

As with (if (!strstr($_SERVER['HTTP_REFERER'], 'somesite.com')) { exit
("Invalid referrer");)
I have no idea how to do this.

The code is not mine I have just botched it abit overtime, for the life of
me I can't remember
who wrote it, possible some one here.

Cheers
WW

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация