Re: PHP form Creates Blank DB entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Jun 30, 2003 at 18:22:59 -0400,
  Jeff <jam@xxxxxxxxxxxxxxxxxxxx> 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?


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux