You are here: Re: Sending authentication mails « PHP Programming Language « IT news, forums, messages
Re: Sending authentication mails

Posted by Pedro Graca on 01/20/06 03:17

Andy Hassall wrote:
> On 19 Jan 2006 20:17:02 GMT, Pedro Graca <hexkid@dodgeit.com> wrote:
>
>> $sql = "update user_table set validated=1 where code='{$_GET['code']}'";
>
> I'm sure you know better than to do this :-) SQL injection ahoy - remember to
> escape appropriately, or use a library that implements (or at least emulates)
> placeholders.

Of course! I was just testing the audience :-)

Thank you for being on the lookout and calling attention to the errors
commited. It's appreciated.

--
If you're posting through Google read <http://cfaj.freeshell.org/google>

 

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

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