[PHP] Comments in excel

2008-12-05 Thread Erfan Shirazi
Hi, I use the excel spreadsheet writer to export some info to an excel file. When I insert some note with writeNote(), the note/comment works well in open office, but if I open it with ms excel 2003, the note/comment can not show all, just a few lines of the note/comment instead of the whole c

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

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

2008-08-25 Thread Barnaby Walters
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 rude words, etc, but

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

[PHP] Comments and performance

2005-03-05 Thread Chris Smith
Hi, Probably a silly question, but when I am writing php scripts (specifically large classes), I tend to write just as many comments as lines of code (for my own reference). Does this affect _execution performance_ of the scripts at all i.e. are they precompiled/interpreted and cached without c

[PHP] Comments beneath Images

2004-04-22 Thread Ashwin Purohit
Hi all, I have a website where I have uploaded a few of my drawings, etc. I want to know how to write a simple php script so that people can post comments beneath the pictures for all to view. If somebody could point me to some tutorial or run me through real quick, it'd be much appreciated. Th

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

[PHP] Comments and Form Variables

2003-12-12 Thread howard gramer
Greetings! First time posting. Hope this is the right place. Feel free to email directly or CC. I am trying to get up to speed on using PHP. One of the fastest ways I learn is by reading commented code snippets. I am asking for 2 things. 1. Can someone please 'comment' the below code snippet.

[PHP] Comments / Feedback script?

2003-10-22 Thread MIKE YRABEDRA
Anyone know of a good 'comments/ feedback' creation script that writes to a static text file (no MySQL)? The user would enter their email, name and comment. They would then be displayed on the page using an include function. ++ Mike Yrabedra (Presid

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

[PHP] Comments in code

2002-09-11 Thread Gerard Samuel
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 about it. T

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

[PHP] Comments / Question about XML?

2002-06-11 Thread Scott Fletcher
Hi! I'm going to start programming for XML but I have never done it before. 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!). By the way, know o

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

[PHP] Comments Display, with replies

2002-04-20 Thread Julio Nobrega
Hi list! 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 more informatio. What I want is to di

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

[PHP] comments

2001-11-02 Thread Nikola Karović
hi, 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 coments by unique id. When i delete eg. comment number 4, next comment is