Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Using Cookie Authentication

$secret_word = 'if i ate spinach';
if (validate($_POST['username'],$_POST['password'])) { 
        setcookie('login',
                  $_POST['username'].','.md5($_POST['username'].$secret_word));
}
Source by softwarezay.com #
 
PREVIOUS NEXT
Tagged: #Using #Cookie #Authentication
ADD COMMENT
Topic
Name
2+2 =