You are here: Re: new to patterns - example of simple PHP page controller for login and database driven pages? « PHP Programming Language « IT news, forums, messages
Re: new to patterns - example of simple PHP page controller for login and database driven pages?

Posted by John Meyer on 07/03/66 11:35

NotGiven wrote:

> I am new to patterns and want to learn how to implement the PAGE
> CONTROLLER model for a web site that has log-in and where the pages are
> dynamic database driven pages.
>
> I will have many questions along the way but one is:
> -- It looks like you use $_GET variables to provide instrucitons for the
> next action. Can you use $POST instead? Advatnages /disadvantages of
> either?
>
> Thanks.


Basic difference between the two: $_GET variables are appended to the end
of a URL, post variables are not. You can have a form as with a "get" or
"post" method.

 

Navigation:

[Reply to this 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

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