Re: entrance from php to postgresql

Поиск
Список
Период
Сортировка
Искать
От
John DeSoi
Тема
Re: entrance from php to postgresql
Дата
Msg-id
7EFA12A7-3CC7-49CC-AF2C-6AC681B33F7C@pgedit.com
Ответ на
Список
Дерево обсуждения
entrance from php to postgresql DCarrero <dcarreroc@gmail.com>
Re: entrance from php to postgresql John DeSoi <desoi@pgedit.com>
Re: entrance from php to postgresql DCarrero <dcarreroc@gmail.com>
Re: entrance from php to postgresql John DeSoi <desoi@pgedit.com>
Re: entrance from php to postgresql DCarrero <dcarreroc@gmail.com>
Re: entrance from php to postgresql DCarrero <dcarreroc@gmail.com>
Re: entrance from php to postgresql DCarrero <dcarreroc@gmail.com>
Re: entrance from php to postgresql John DeSoi <desoi@pgedit.com>
Re: entrance from php to postgresql DCarrero <dcarreroc@gmail.com>

On Jul 11, 2006, at 1:23 PM, DCarrero wrote:

> I was asking if this useful, or secure to do a transaction on web, or
> you recomend use a function with parameters an inside this insert
> data, thank for the information too...

If you are inserting user entered data (especially from the web) I  
highly recommend you use prepared statements. This will deal with  
security issues related to SQL injection. I prefer to use functions,  
but it is not necessary. Here is a short article I wrote which you  
might find helpful in using prepared statements from PHP:

http://pgedit.com/resource/php/pgfuncall




John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

В списке pgsql-php по дате отправления
От: John DeSoi
Дата:
От: DCarrero
Дата:
FAQ