Using Cookies with Authentication:<?php$cookie_name = “test”;$cookie_value = “string”;$cookie_expire = time()+10;$cookie_domain = “127.0.0.1”;$cookie_domain2 = “localhost”;setcookie($cookie_name, $cookie_value, $cookie_expire, “/” ,$cookie_domain, 0);setcookie($cookie_name, $cookie_value, $cookie_expire, “/” ,$cookie_domain2, 0);?><HTML><HEAD><TITLE>Set…