You are here: Re: cookies « PHP Programming Language « IT news, forums, messages
Re: cookies

Posted by SterLo on 05/10/07 14:45

For a login system - it is best to do the following.

Generate your page and stuff.
Then have the login form setup.
The user then posts to what ever page when they submit the form.
Set Session variables.
Check the session variable data and if it isn't empy - go into the
database and cycle through to find a match.

If no match - display an error.
If one is found - then continue on.

Simple stuff.

 

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

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