Re: $_POST issues

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

 



On 1 December 2010 15:18, Marc Guay <marc.guay@xxxxxxxxx> wrote:
>>>> <?php
>>>> Â Âvar_dump($_POST);
>>>> ?>
>
> Where exactly are you putting this line?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

If a script is ran via a url like ...

http://www.site.com/script.php?var1=val1&var2=val2

then $_GET will contain the result.

The same $_GET would hold the values from a <form method="get">

$_POST is for POST-d data (either via <form method="post"> or cURL/Streams).



-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

-- 
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