$HTTP_COOKIE_VARS['someWord'];
$HTTP_GET_VARS['someWord'];
:P
Mike
Richard S. Crawford wrote:
> Consider this code, in page1.php:
>
> setcookie("someWord","I am a cookie");
> ?>
>
> ...and this code, in page2.php:
>
> setcookie("someWord",$someWord);
> print ("someWor
Consider this code, in page1.php:
...and this code, in page2.php:
Click here< /a >");
?>
(In the actual code, the value of $someWord is passed via POST through a
form, but the principle is the same.)
The first time I load page2.php, the output should be:
someWord says: I am a cook
2 matches
Mail list logo