|
Posted by ZeldorBlat on 11/18/05 04:52
>From my understanding the variables are passed along from a form depending on
>the "method" in your HTML code. If you use the "GET" method, the form adds the
>variable to the URL (e.g. http://www.domain.com/phpscript?var1=1+var2=2 ) and
>would access them in PHP with the $_GET variables.
Yes.
>If the form uses the "POST" method though, the variable are passed along more
>transparently, so you don't see them on the URL, and can get the using the
>$_POST variables.
Also true. It's also worth noting that this is no way makes POST more
secure than GET.
Navigation:
[Reply to this message]
|