Re: Log-in script help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AceZero2790@xxxxxxx wrote:
Hey,
I need a particular type log in script. I'm not sure how to do it or where I could find a tutorial that would help me, so I'll describe what I need and then maybe someone could tell me what kind of script I need (sessions or whatever) and where I could get the script/learn how to make it.
I need a pretty basic log in script. Something that people log in to, and the page and all linked/related pages cannot be accessed unless the person has logged in. So what do I need for this? Cookies, sessions both? And where can I learn how?


-Andrew


Sessions will certainly be needed; cookies are related to sessions. Although technically you don't need cookies to use sessions (and in fact some users may not let you use cookies) it is generally a better way to handle sessions than using a GET variable. This user manual page will probably help you:
http://www.php.net/manual/en/ref.session.php




--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux