Apache and PHP

Wayne Pascoe freebsd at penguinpowered.org.uk
Tue Apr 15 06:39:53 PDT 2003


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


More information about the freebsd-questions mailing list