From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 06:39:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E17C837B401 for ; Tue, 15 Apr 2003 06:39:52 -0700 (PDT) Received: from smtp.mailbox.co.uk (smtp.mailbox.net.uk [195.82.125.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4728D43FAF for ; Tue, 15 Apr 2003 06:39:52 -0700 (PDT) (envelope-from wayne.pascoe@penguinpowered.org.uk) Received: from [212.18.244.168] (helo=marvin.penguinpowered.org.uk) by smtp.mailbox.co.uk with esmtp (Exim 3.36 #1) id 195Qf9-0007DK-00; Tue, 15 Apr 2003 14:39:51 +0100 Received: from waynep by marvin.penguinpowered.org.uk with local (Exim 3.33 #1) id 195Qp7-0002aG-00; Tue, 15 Apr 2003 14:50:09 +0100 Date: Tue, 15 Apr 2003 14:50:09 +0100 From: Wayne Pascoe To: Konrad Scorciapino Message-ID: <20030415135009.GC9785@marvin.penguinpowered.org.uk> References: <200304150957.00048.konrad@scorciapino.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304150957.00048.konrad@scorciapino.org> User-Agent: Mutt/1.4i X-System: FreeBSD i386 with kernel 4.8-STABLE Sender: User Waynep cc: freebsd-questions@freebsd.org Subject: Re: Apache and PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 13:39:53 -0000 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