From: Franky Van Liedekerke <liedekef@telenet.be>
To: mlmmj@mlmmj.org
Subject: Re: Quick hack to get mlmmj to work in PHP 5
Date: Thu, 07 Aug 2008 13:59:22 +0000 [thread overview]
Message-ID: <20080807155922.6f30d638@franky> (raw)
In-Reply-To: <45CB89DA-8EDA-4BB9-B500-967D0245BB71@phporaclehosting.com>
On Thu, 07 Aug 2008 15:34:05 +0200
Christian Laursen <xi@borderworlds.dk> wrote:
> Gareth Fiford <gareth@phporaclehosting.com> writes:
>
> > On 7 Aug 2008, at 08:38, Christian Laursen <xi@borderworlds.dk>
> > wrote:
> >
> >> Gareth Fiford <gareth@phporaclehosting.com> writes:
> >>
> >>> Quick hack to get php user and admin to work in PHP5
> >>
> >> [snip]
> >>
> >> Or you could probably just enable register_globals in your virtual
> >> host configuration.
> >
> > Register globals is a security no no
>
> Yes, but disabling register_globals and implementing the same thing
> yourself is just as bad (Actually I think it is worse).
>
I don't think anything that drastic is needed for the php interface.
Just change any occurence of $HTTP_GET_VARS into $_GET, $HTTP_POST_VARS
into $_POST and $HTTP_SERVER_VARS into $_SERVER. It requires some
editing, but is the best way to go. If people are not willing to do
this editing, download it from here:
http://www.e-dynamics.be/programs/php_interface.tar.gz
Franky
next prev parent reply other threads:[~2008-08-07 13:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-06 22:03 Quick hack to get mlmmj to work in PHP 5 Gareth Fiford
2008-08-07 7:38 ` Christian Laursen
2008-08-07 8:31 ` Gareth Fiford
2008-08-07 13:34 ` Christian Laursen
2008-08-07 13:59 ` Franky Van Liedekerke [this message]
2008-08-07 14:40 ` Gareth Fiford
2008-08-07 19:08 ` Thomas Goirand
2008-08-07 20:01 ` Gareth Fiford
2008-08-08 10:33 ` Thomas Goirand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080807155922.6f30d638@franky \
--to=liedekef@telenet.be \
--cc=mlmmj@mlmmj.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.