Re: Where are my form variables?

From: Date: Tue, 03 May 2005 11:31:01 +0000
Subject: Re: Where are my form variables?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-39354@lists.php.net to get a copy of this message
The best way is made an var_dump of $_POST array vars: <? var_dump($_POST) ?> Regards, Luis Morales Juffermans, Jos wrote: >Hi, > >If you expect your variables to be generated automatically, you may find >that newer versions of PHP have that disabled by default - because it's less >secure. > >Try to read $_POST{"formfieldname"} to get your data... > >To quickly find out all the post data that you received: ><?php > print "<pre>"; print_r($_POST); print "</pre>"; >?> > >Jos > >-----Original Message----- >From: MIGUEL ANTONIO GUIRAO AGUILAR >[mailto:miguel.guirao@mail.telcel.com] >Sent: 03 May 2005 07:41 >To: php-db@lists.php.net >Subject: [PHP-DB] Where are my form variables? > > >Hi!! > >I created a form with five text boxes, method=post and action=myscript.php; >but I can't see the variables at the target script, why? > >Do I need a special sintaxis for accesing the POST array? >Regards, > >-------------------------- >MIGUEL GUIRAO AGUILERA > > >

« previous php.db (#39354) next »