Re: PHP form Creates Blank DB entries - Mailing list pgsql-php

From Bruno Wolff III
Subject Re: PHP form Creates Blank DB entries
Date
Msg-id 20030701134657.GA1999@wolff.to
Whole thread Raw
In response to Re: PHP form Creates Blank DB entries  (Jeff <jam@zoidtechnologies.com>)
Responses Re: PHP form Creates Blank DB entries  (Jeff <jam@zoidtechnologies.com>)
List pgsql-php
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 <, >, " and
&, resprectively since those characters could legitimately appear
in at least some of those strings?

pgsql-php by date:

Previous
From: Michael Hanna
Date:
Subject: Re: Best way to convert PG's TIMESTAMPTZ to PHP DATE?
Next
From: Jeff
Date:
Subject: Re: PHP form Creates Blank DB entries