Script from php.net giving a parse error.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Script from php.net giving a parse error.

Post by impulse() »

I did start writing the error here but I realised half way through what the error with the script was. Has anybody come across parse errors on php.net 'User Contributed Notes'?

I don't want to sound like a moaner to php.net, should I e-mail them and let them know of the little mistake?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Most people, when they find an error in code there, post a comment like everyone else.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

If it's in the user comments, it's user-beware.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Yes, there have been quite a few samples from the users that make apps puke. My advice... review the code before using it, clean it up, then test it thoroughly.
Post Reply