cookie problem NEED HELP!!!

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
User avatar
webwired
New php-forum User
New php-forum User
Posts: 26
Joined: Sat Nov 23, 2002 5:20 pm
Location: St. Louis, Missouri
Contact:

Post by webwired » Wed Dec 11, 2002 10:45 am

Code: Select all

<?php
if(!isset($COOKIE_SET))
{
   setcookie("testcookie", "Gingersnap");
   header("Location: $PHP_SELF?COOKIE_SET=1");
   exit;
}
?>

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests