RE: [PHP-WIN] FOrm processing question

From: Date: Wed, 11 Aug 2004 14:07:46 +0000
Subject: RE: [PHP-WIN] FOrm processing question
Groups: php.windows 
Request: Send a blank email to php-windows+get-24383@lists.php.net to get a copy of this message
I didn't notice if someone had replied to this yet or not, but sounds like a classic globals issue. Check your PHP.INI to see if you have globals turned on? I'm guessing you do for the Unix system but not on the Windows box. In PHP.INI (make sure you're looking at the same PHP.INI that PHP is using): register_globals = Off It's good security to turn them off, then just use: $formvariable = $_GET["formvariable"]; or $formvariable = $_POST["formvariable"]; or $formvariable = $_REQUEST["formvariable"]; Without seeing your code, it's hard to make any other guesses as to what could be wrong. Hope that helps. -TG -----Original Message----- From: anne [mailto:anne@language-works.com] Sent: Wednesday, August 11, 2004 10:06 AM To: php-windows@lists.php.net Subject: [PHP-WIN] FOrm processing question Trying this again. IT makes no sense that from one page to the next the variable values are not being carried. They are in Unix, just not in the code on windows? How do you process form data normally? -------Original Message------- > From: Anne Shroeder <anne@language-works.com> > Subject: [PHP-WIN] Variables not passed through form > Sent: 09 Aug 2004 21:36:23 > > I've always used PHP on *Nix platforms. So I'm assuming that this is a > > windows issue. Here is identical code > > (1) on an MS server: > > http://www.cgapdirect.org/annes/ProductCosting/contribute.php > > (2) on a Linux sever: > > http://www.language-works.com/cgap/contribute.php > > > > The form variable values are displayed at the bottom of the page in (2) but > > (1) ignores them entirely. Why? > > > > Anne > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php -------Original Message-------

« previous php.windows (#24383) next »