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

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Christian Vogel
CC: exim-users
Assumpte: 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