Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 14:50:09 +0100
From:      Wayne Pascoe <freebsd@penguinpowered.org.uk>
To:        Konrad Scorciapino <konrad@scorciapino.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache and PHP
Message-ID:  <20030415135009.GC9785@marvin.penguinpowered.org.uk>
In-Reply-To: <200304150957.00048.konrad@scorciapino.org>
References:  <200304150957.00048.konrad@scorciapino.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 15, 2003 at 09:57:00AM -0300, Konrad Scorciapino wrote:
> Hello,
> 
> I am running Apache with mod_php and when I try something like `echo $a` in a 
> webpage like `/foo.php?a=bar`, I get no results.
> 
> Could this be a problem with apache? What could be wrong?

As far as I know, the default for php is now to set register_globals to
off. You need to edit your php file and turn this on, or you need to
access the variable in a safe manner.

It's unlikely that this is a problem with Apache from this evidence..

-- 
Wayne Pascoe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030415135009.GC9785>