Re: Trouble Passing Variables On Test Server

From: Date: Tue, 25 Feb 2003 16:24:16 +0000
Subject: Re: Trouble Passing Variables On Test Server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137090@lists.php.net to get a copy of this message
At 17:49 25.02.2003, Randum Ian said: --------------------[snip]-------------------- >Hi guys, I have installed a test sever from those guys are FirePages.com.au >on my Windows XP Machine at home to test websites on >http://localhost. > >The only problem is the forms are not passing on the variables. I have used >the same scripts on a webserver and they work fine. Could anyone tell me >what I should check so that these variables are passed thru? Has anybody >come across this problem before? --------------------[snip]-------------------- Check your php.ini for register_globals. This defaults to off in the later versions of PHP (and should be left as-is). Use the $_REQUEST, $_GET, or $_POST superglobals to access form data. You may also extract() these variables, but do yourself a favour and do some checks before that no unintended variables have been passed. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#137090) next »