Re: $_GET and $_POST arrays not working

From: Date: Fri, 25 Nov 2005 22:38:02 +0000
Subject: Re: $_GET and $_POST arrays not working
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-226437@lists.php.net to get a copy of this message
Well it returned all values with print_r(); but i can't access them... this is what the page returns: Array ( [Username] => SFF [Password] => dSF [EMail] => sfdf ) Array ( ) *Notice*: Undefined index: Username in * D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *5* *Notice*: Undefined index: Password in * D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *6* *Notice*: Undefined index: EMail in * D:\Apache\Apache(re)\Apache2\htdocs\RegisterP.php* on line *7* On 11/25/05, Richard Davey <rich@corephp.co.uk> wrote: > > Hi, > > Friday, November 25, 2005, 10:22:46 PM, you wrote: > > > Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET > > and $_POST arrays do not seem to be working, I am Sure I am spelling > > them right, but i keep getting the errors: > > > Is this a problem with configuration or is there a bug in PHP, thanks in > > advance > > If it was a PHP bug I think a few more people may notice it ;) > > Try dumping out the values of the arrays, see what they say: > > print_r($_GET); > print_r($_POST); > > etc > > Cheers, > > Rich > -- > Zend Certified Engineer > PHP Development Services > http://www.corephp.co.uk > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#226437) next »