Skip to content

DamianPacanowski/CookieSet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CookieSet

Cookies setting is a class for creation cookies in the web server and the user's browser, using blockchain technologe.

Best data for this porpouse it is the data from the user himself, obtained after connecting to our server.

I am taking three parameters from the user as basic data, user host, ip, programs, to create a cookie connection.

So I created a class and used it in this example:

include('../cookie.set.php');
$_cookie_set = new cookie;
if(($_cookie_set->catch())==true)
{
    echo'<pre>';
        print_r($_COOKIE); // print cookie 
    echo'</pre>';
}
else
{
    echo'COOKIE SET ERROR';
} 

if you have more relevant and useful variables to suggest, feel free to discuss.