Re: [PHP] comments function being spammed, how do I stop it?

2008-08-27 Thread Stut
On 27 Aug 2008, at 15:37, tedd wrote: At 3:37 PM +0100 8/26/08, Stut wrote: In my experience most spam can be blocked by case-insensitively checking for "[url" and "there that don't include URLs. -Stut Well... that would block me many times from providing comment for I often not only comm

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-27 Thread tedd
At 3:37 PM +0100 8/26/08, Stut wrote: In my experience most spam can be blocked by case-insensitively checking for "[url" and "there that don't include URLs. -Stut Well... that would block me many times from providing comment for I often not only comment but back my point up with a link to a

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-27 Thread David Robley
tedd wrote: > At 3:14 PM -0700 8/25/08, Jim Lucas wrote: >>Here is the function that I added to a generic guest book script. >>It works great for me. I have a predefined list of sexual, >>pharmaceutical, rude, vulgar, etc... words that I have in the >>spamwords.dat file. >> >>function is_spam($st

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-26 Thread Jim Lucas
Stut wrote: On 26 Aug 2008, at 15:23, tedd wrote: At 3:14 PM -0700 8/25/08, Jim Lucas wrote: Here is the function that I added to a generic guest book script. It works great for me. I have a predefined list of sexual, pharmaceutical, rude, vulgar, etc... words that I have in the spamwords.da

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-26 Thread Stut
On 26 Aug 2008, at 15:23, tedd wrote: At 3:14 PM -0700 8/25/08, Jim Lucas wrote: Here is the function that I added to a generic guest book script. It works great for me. I have a predefined list of sexual, pharmaceutical, rude, vulgar, etc... words that I have in the spamwords.dat file.

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-26 Thread tedd
At 3:14 PM -0700 8/25/08, Jim Lucas wrote: Here is the function that I added to a generic guest book script. It works great for me. I have a predefined list of sexual, pharmaceutical, rude, vulgar, etc... words that I have in the spamwords.dat file. function is_spam($str) { $data = './data

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-25 Thread Jim Lucas
Barnaby Walters wrote: Hi there! my comments function for my website (at www.waterpigs.co.uk/php/phpTest.php) is being spammed, what would be your sugguestions of a way to deal with it? I was thinking of something to do with searching the strings of comments contained in the database for r

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-25 Thread David Otton
2008/8/25 Barnaby Walters <[EMAIL PROTECTED]>: > my comments function for my website (at www.waterpigs.co.uk/php/phpTest.php) > is being spammed, what would be your sugguestions of a way to deal with it? > I was thinking of something to do with searching the strings of comments > contained in the

Re: [PHP] comments function being spammed, how do I stop it?

2008-08-25 Thread Thiago H. Pojda
Captcha? On 8/25/08, Barnaby Walters <[EMAIL PROTECTED]> wrote: > > > Hi there! > > my comments function for my website (at www.waterpigs.co.uk/php/phpTest.php) > is being spammed, what would be your sugguestions of a way to deal with it? > I was thinking of something to do with searching the str

Re: [PHP] Comments and performance

2005-03-08 Thread Richard Lynch
> Does this affect _execution performance_ of the scripts at all i.e. are > they precompiled/interpreted and cached without comments or interpreted > on every execution? The comments get stripped out on each execution of the whole script, unless you are using a caching system such as Zend Cache.

Re: [PHP] Comments and performance

2005-03-05 Thread Matthew Fonda
Hello, Comments should not affect speed or performance at. Commenting is a good thing, and you should continue to do it. :) On Sat, 2005-03-05 at 13:15, Chris Smith wrote: > Hi, > > Probably a silly question, but when I am writing php scripts > (specifically large classes), I tend to write just

RE: [PHP] Comments and Form Variables

2003-12-12 Thread Jay Blanchard
[snip] Greetings! First time posting. Hope this is the right place. Feel free to email directly or CC. [/snip] Welcome! Always reply to all so that the list can see the answers unless you asked specifically to reply off-list. [snip] Some FYI Howard. Please do not post large chunks of code lik

RE: [PHP] Comments in code

2002-09-11 Thread Jay Blanchard
[snip] I just started writing comments in my code for use with phpdocumentor. And Im beginning to wonder if too many comments is a *bad* thing. I was wondering about file size, but dont think that can be avoided, and php's parser speed. Nothing bad, just looking to see what others have to say abou

Re: [PHP] Comments / Question about XML?

2002-06-11 Thread Scott Fletcher
Havent' thought about that. That's what so great about UNIX!!! Windows, too picky Scott "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey Scott: > > > I also found out that I would need to recompile PHP with the "--xml" option. >

Re: [PHP] Comments / Question about XML?

2002-06-11 Thread Analysis & Solutions
Hey Scott: > I also found out that I would need to recompile PHP with the "--xml" option. > That's suck! Will have to do it while the server is on live site. > Hopefully nothing will go wrong. (Cross my finger!). Why the fear? Do the make/build in a location other than where the live binary i

Re: [PHP] Comments Display, with replies

2002-04-20 Thread Miguel Cruz
On Sat, 20 Apr 2002, Julio Nobrega wrote: > I have maybe an easy to solve problem, but I haven't come with a logical > way to do it. I am builing a discussion site (a la Kuro5hin.org), and > there's a sql query to retrieve comments attached to an article. It grabs > their titles, along with some m

Re: [PHP] comments

2001-11-02 Thread Jason Stechschulte
On Fri, Nov 02, 2001 at 12:44:16PM +0100, Nikola Karovi? wrote: > on my web site i have an option that user can add their comments about my > articles. I have table articles, and table comments. On table comments > column unique id (auto increment) and articleid. It displays them and sort > coment