LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Parsing command line arguments in PHP (https://www.linuxquestions.org/questions/programming-9/parsing-command-line-arguments-in-php-786123/)

resetreset 02-01-2010 12:45 AM

Parsing command line arguments in PHP
 
Hi,
I want to know how to get eg. the contents of a form on a webpage which has been passed to a server side PHP script, inside for example an array which I can read. I've been reading a ebook on PHP which as far as I can see doesn't cover this inside it.

Thanks for any help.

graemef 02-01-2010 03:39 AM

If your form has been POST'ed then do a var_dump of the super global $_POST this will help you work out the format that the array will be sent to the server.


All times are GMT -5. The time now is 05:47 PM.