Reply to Re: ADOdb

Your name:

Reply:


Posted by Juliette on 11/19/92 11:45

Tom wrote:
> I'm interested in adopting ADOdb (actually ADOdb Lite) and have a
> simple question that I haven't been able to quite pinpoint an answer
> to.
>
> I'm used to using the native mysql functions with
> mysql_escape_string(). With ADOdb, is this handled transparently with
> the execute method or should I take my own steps to sanitize input
> data?
>

When using adodb you should escape strings using the $db->qstr() method,
this will escape the string properly for the database type you use.

Data returned will be returned 'sanely', i.e. if slashes where added for
insertion into the database, they will be removed automagically.

Have a look at the adodb documentation, it's pretty detailed and
explains all this.

Grz, Jrf

[Back to original 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

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