pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Jeff <jam@zoidtechnologies.com>
Cc: Frank Bax <fbax@sympatico.ca>
Cc: pgsql-php@postgresql.org
Subject: Re: PHP form Creates Blank DB entries
Date: Tue, 1 Jul 2003 08:46:57 -0500
Message-ID: <20030701134657.GA1999@wolff.to> (raw)
In-Reply-To: <20030630222259.GI1614@zoidtechnologies.com>
References: <3EC8256A-AB16-11D7-8634-00039308EB2C@hwcn.org>
	<5.2.1.1.0.20030630131653.00aa7df0@pop6.sympatico.ca>
	<20030630222259.GI1614@zoidtechnologies.com>

On Mon, Jun 30, 2003 at 18:22:59 -0400,
  Jeff <jam@zoidtechnologies.com> wrote:
> 
> also, I would suggest running each of the variables through a function that
> strips out html tags (since you don't really care about allowing them in
> this case, right?).. you can do that with strip_tags.. see
> http://php.net/strip_tags

Wouldn't it be better to replace <, >, " and & with &lt;, &gt;, &quot; and
&amp;, resprectively since those characters could legitimately appear
in at least some of those strings?



view thread (6+ messages)  latest in thread

Message-ID: <20030701134657.GA1999@wolff.to>
Permalink:  ../20030701134657.GA1999@wolff.to/
Also on:    postgresql.org/message-id/20030701134657.GA1999@wolff.to

 · 

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: bruno@wolff.to, jam@zoidtechnologies.com, fbax@sympatico.ca
  Subject: Re: PHP form Creates Blank DB entries
  In-Reply-To: <20030701134657.GA1999@wolff.to>
  References: <3EC8256A-AB16-11D7-8634-00039308EB2C@hwcn.org> <5.2.1.1.0.20030630131653.00aa7df0@pop6.sympatico.ca> <20030630222259.GI1614@zoidtechnologies.com> <20030701134657.GA1999@wolff.to>

* 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