1
0
mirror of https://github.com/php/web-php.git synced 2026-03-28 17:22:06 +01:00
Files
archived-web-php/setcookie.php3
Rasmus Lerdorf 3a4b304f39 Clean up some stuff - move includes into separate directory and
include header from top page.
1997-11-06 23:57:25 +00:00

18 lines
364 B
PHP

<?
include "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 "include/header.inc";
?>
<blockquote>
Your cookie has been set. It will expire 1 year from now.
</blockquote>
<?
include "include/footer.inc";
?>