Re: Where are my form variables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



as a side note, you can also wrote that last line like :

<?php
print "<pre>" . print_r($_POST, TRUE) . "</pre>";
?>

The TRUE tells the function to return the results, not print them...


On 5/2/05, Juffermans, Jos <jjuffermans@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx]
> Sent: 03 May 2005 07:41
> To: php-db@xxxxxxxxxxxxx
> Subject:  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
> 
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux