Jump to content

[SOLVED] Cookie Question


maxudaskin

Recommended Posts

Would this be ok?

 

<?php
if(isset($_COOKIE['vzoom_display']))
{
header( 'Location: index_2.php' ) ;
}else{
?>

<html>
[tt]Some HTML COde Here[/tt]</html><?php } ?>

 

I want it to show the page unless the guest/user has previously clicked 'do not show this page again'.

I know it set the cookie because I made a script to view the cookie, it is there, but it won't skip the page...

Link to comment
https://forums.phpfreaks.com/topic/68946-solved-cookie-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.