b1011 Posted May 6, 2007 Share Posted May 6, 2007 How can i check if a cookie DOES NOT exist? if cookie doesn't exist i need it to execute code. any ideas? Quote Link to comment Share on other sites More sharing options...
clown[NOR] Posted May 6, 2007 Share Posted May 6, 2007 <?php if (!isset($_COOKIE['cookiename'])) { // Execute code here } ?> Quote Link to comment Share on other sites More sharing options...
b1011 Posted May 6, 2007 Author Share Posted May 6, 2007 thanks! Quote Link to comment Share on other sites More sharing options...
clown[NOR] Posted May 6, 2007 Share Posted May 6, 2007 no problem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.