On 1 December 2010 15:18, Marc Guay <marc.g...@gmail.com> 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

Reply via email to