Reply to Re: Passing Variables

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация