From owner-freebsd-isp Mon Jul 29 13:47:51 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFD9437B411 for ; Mon, 29 Jul 2002 13:47:40 -0700 (PDT) Received: from satin.sensation.net.au (c16494.brodm1.vic.optusnet.com.au [210.49.158.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F86143E3B for ; Mon, 29 Jul 2002 13:47:39 -0700 (PDT) (envelope-from rowan@sensation.net.au) Received: from localhost (rowan@localhost) by satin.sensation.net.au (8.9.3/8.9.3) with ESMTP id GAA21513 for ; Tue, 30 Jul 2002 06:47:37 +1000 (EST) X-Authentication-Warning: satin.sensation.net.au: rowan owned process doing -bs Date: Tue, 30 Jul 2002 06:47:37 +1000 (EST) From: Rowan Crowe To: freebsd-isp@freebsd.org Subject: Re: PHP 4.2.2 In-Reply-To: <20020729172307.J74766-100000@mirage.nlink.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 29 Jul 2002, Paulo Fragoso wrote: > Hi, > > I've upgrade my ports by cvsup and I've installed mod_php4-4.2.2. After > that I've got a big problem, all pages which get values for variables from > html pages using GET method don't work. I can't find exact URL I was looking at earlier, but this also has some useful information: http://www.php.net/manual/en/reserved.variables.php Basically the seamless translation of "blah=xxx" variables in the command line to the PHP equivalent "$blah = xxx" no longer works. You'll need to use $_GET["blah"] For easy transition you can also convert all of the URL variables at the top of each script: $blah = $_GET["blah"]; This new behaviour can be disabled in php.ini (which is why another poster had success replacing it with an older version), but it's probably a good idea to start making the changes _now_. Hope this helps... Cheers. -- Rowan Crowe - Melbourne, Australia www.camrecord.com www.camdiscover.com www.heyasl.com www.sensationbot.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message