pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: DCarrero <dcarreroc@gmail.com>
To: John DeSoi <desoi@pgedit.com>
Cc: pgsql-php@postgresql.org
Subject: Re: entrance from php to postgresql
Date: Tue, 11 Jul 2006 13:49:52 -0400
Message-ID: <5887d1f40607111049i545d7207u284ed61b5934b31d@mail.gmail.com> (raw)
In-Reply-To: <7EFA12A7-3CC7-49CC-AF2C-6AC681B33F7C@pgedit.com>
References: <5887d1f40607110739g6de31636n8a6a18d7159cc646@mail.gmail.com>
	<2D22D53B-4658-4976-B26D-41279B229350@pgedit.com>
	<5887d1f40607111023n6d95d0a4r8d0a2658800bd2ef@mail.gmail.com>
	<7EFA12A7-3CC7-49CC-AF2C-6AC681B33F7C@pgedit.com>

2006/7/11, John DeSoi <desoi@pgedit.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

Thanks again :D



view thread (9+ messages)  latest in thread

Message-ID: <5887d1f40607111049i545d7207u284ed61b5934b31d@mail.gmail.com>
Permalink:  ../5887d1f40607111049i545d7207u284ed61b5934b31d@mail.gmail.com/
Also on:    postgresql.org/message-id/5887d1f40607111049i545d7207u284ed61b5934b31d@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: dcarreroc@gmail.com, desoi@pgedit.com
  Subject: Re: entrance from php to postgresql
  In-Reply-To: <5887d1f40607111049i545d7207u284ed61b5934b31d@mail.gmail.com>
  References: <5887d1f40607110739g6de31636n8a6a18d7159cc646@mail.gmail.com> <2D22D53B-4658-4976-B26D-41279B229350@pgedit.com> <5887d1f40607111023n6d95d0a4r8d0a2658800bd2ef@mail.gmail.com> <7EFA12A7-3CC7-49CC-AF2C-6AC681B33F7C@pgedit.com> <5887d1f40607111049i545d7207u284ed61b5934b31d@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox