mirror of
https://github.com/php/web-php.git
synced 2026-03-24 07:12:16 +01:00
18 lines
332 B
PHP
18 lines
332 B
PHP
<?
|
|
include "auth.inc";
|
|
$email=strtolower($email);
|
|
SetCookie("email",$email,time()+365*24*3600);
|
|
SetCookie("password",$password,time()+365*24*3600);
|
|
?>
|
|
<html><head>
|
|
<?
|
|
$title="Cookie Set!";
|
|
include "header";
|
|
?>
|
|
<blockquote>
|
|
Your cookie has been set. It will expire 1 year from now.
|
|
</blockquote>
|
|
<?
|
|
include "footer";
|
|
?>
|