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

Posted by Jerry Stuckle on 12/29/07 20:16

wqmmnm wrote:
> I am trying to develop a PHP site so that I may record my poker
> winnings and display the results on my blog. I haven't used php in a
> long time so I need to beginner type help. I know I am going to have
> to write a login page that communicates with a MYSQL sever so that
> shouldn't be an issue either. My issue is I am not sure if I should
> write code to check login state to appear on every page after the
> login. I also when the user hits the submit button on the webpage
> should I post the webpage to itself or should I pass the user info to
> the next page and do the user validation there. Please let me know
> what I should do.
>

Yes, you need to check the login state on every page where that state is
important (i.e. it probably isn't on your home page, so you wouldn't
need it there).

As for validation - it all depends. I do it both ways; which one I use
depends on the needs at the moment.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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