Re: [Exim] general queston: quoting in SQL-statements

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Christian Vogel
Kopio: exim-users
Aihe: Re: [Exim] general queston: quoting in SQL-statements
On Tue, 22 Jul 2003, Christian Vogel wrote:

> What would list-members consider good practice in this field?


I advise quoting always.

> Or does exim employ special "magic" (like for example php does...)
> when putting $local_part etc... in sql queries?


No. At the time it is inserting, it doesn't know it is dealing with an
SQL query.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book