RE: [PHP-DB] Where are my form variables?

From: Date: Tue, 03 May 2005 06:03:13 +0000
Subject: RE: [PHP-DB] Where are my form variables?
Groups: php.db 
Request: Send a blank email to php-db+get-39350@lists.php.net to get a copy of this message
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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#39350) next »