[geeklog-devel] Forum Issues

Dwight Trumbower dwight at trumbower.com
Wed Feb 26 15:16:45 EST 2003


At 03:09 PM 2/26/2003 -0500, you wrote:
>This is the way I wrote it now .. and adding stripslashes randomly in the
>code may be an interesting exercise but not the right approach.
>
>Blaine

I agree, so what can we do too help solve the problem on are machines, 
access, inserting debug code?

Dwight



>----- Original Message -----
>From: "Dirk Haun" <dirk at haun-online.de>
>To: <geeklog-devel at lists.geeklog.net>
>Sent: Wednesday, February 26, 2003 12:04 PM
>Subject: Re: [geeklog-devel] Forum Issues
>
>
> > Tom Willett <tomw at pigstye.net> wrote:
> >
> > >On gplugs, quotes are an issue and the server has gpc quoting on.  I
>solved
> > >this by just commenting out the check for gpc quotes.  On a server at my
> > >office it also has gpc on the quotes are not an issue.  For a test I
> > >commented out the gpc test and it worked fine.  I think if you just
>ignore
> > >the gpc quote test, you will be alright.
> >
> > Actually, I think there's a misunderstanding here as to what the
> > magic_quotes_gpc settting is all about. The "gpc" stands for "Get, Post,
> > Cookie", i.e. this setting does only apply to the handling of quotes in
> > case of GET or POST requests as well as Cookies. It does NOT apply for
> > quotes in SQL requests - that would be magic_quotes_runtime.
> >
> > So, as Tom said, ignoring the magic_quotes_gpc settting and always using
> > addslashes() before storing anything in the database would work. This is
> > also how Geeklog does it (although that could be considered a bug since
> > it doesn't check for the setting of magic_quotes_runtime).
> >
> > bye, Dirk
> >
> >
> > --
> > http://www.haun-online.de/
> > http://www.macosx-faq.de/
> >
> > _______________________________________________
> > geeklog-devel mailing list
> > geeklog-devel at lists.geeklog.net
> > http://lists.geeklog.net/listinfo/geeklog-devel
> >
>
>_______________________________________________
>geeklog-devel mailing list
>geeklog-devel at lists.geeklog.net
>http://lists.geeklog.net/listinfo/geeklog-devel

Dwight
dwight at trumbower.com




More information about the geeklog-devel mailing list