|
Posted by Chris Gorospe on 10/30/07 13:21
jatrojoomla wrote:
> Hi!
> could anyone give me some clue that how to create 'remember login'
> functionality during login
> Thanks
> Sukalyan
>
You would use something along the lines of:
if($_POST['remember'])
{
set_cookie("username", $username, time()+3600, "/", "yourwebsite.com");
}
Obviously you'd want this done after all login credentials have been
checked.
[Back to original message]
|