Re: Access name of variable in $_POST array

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

 



Eric Lommatsch wrote:
I am writing a PHP script that is going to accept variables that are passed
from a PDF form and should write both the name of the variable and its value
to a text file. I can get the value that I want to retrieve with out problem. However, even
though I have searched through the PHP.net site and googled this as well I
have not yet been able to find the syntax that I need to get the names of the
variables in the $_Post array.
Can someone point me to the place in the PHP manual where I can find the syntax to get the name of a variable in the $_POST array?

http://php.net/array_keys

As in...

$varnames = array_keys($_POST);

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux