Page 1 of 1

Cookie Detection

Posted: Mon Nov 24, 2003 7:38 pm
by Straterra
Is there a way to detect if the cookie exists? If so, how?

Posted: Mon Nov 24, 2003 9:31 pm
by Gen-ik

Code: Select all

<?php

echo (isset($_COOKIE["cookieName"])) ? "Yes, the Cookie exists" : "No, the Cookie has crumbled";

?>