Date: Tue, 30 Jul 2002 06:47:37 +1000 (EST) From: Rowan Crowe <rowan@sensation.net.au> To: freebsd-isp@freebsd.org Subject: Re: PHP 4.2.2 Message-ID: <Pine.BSF.4.21.0207300642080.20951-100000@satin.sensation.net.au> In-Reply-To: <20020729172307.J74766-100000@mirage.nlink.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0207300642080.20951-100000>