POV-Ray : Newsgroups : povray.off-topic : I promised not to mock ... : Re: I promised not to mock ... Server Time
7 Sep 2024 19:16:54 EDT (-0400)
  Re: I promised not to mock ...  
From: Warp
Date: 28 Apr 2008 17:13:46
Message: <48163e09@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> PHP too. Few people use prepared statements in PHP, they just 
> concatenate strings into a SQL statement. And that's why PHP has such 
> abominations as "magic quotes", to protect the developers against 
> themselves, annoy to hell people who know what they're doing, and get 
> backslashes all over your webpages.

  Most PHP programmers who know about SQL injections and quote escaping
believe it's enough to make PHP escape those quotes, but most of them
are oblivious to another exploit which the quote escape usually doesn't
fix, namely cross-site scripting.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.