Posted By

ryarwood on 07/07/11


Tagged

header check cookie


Versions (?)

Check for Cookie


 / Published in: PHP
 

URL: http://www.livecolonaypark.com

Checks for a cookie and forwards if it isn't true.

  1. <?php
  2.  
  3. if (isset($_COOKIE["ViewPricing"])) {
  4. $cookBe = 'totes';
  5. } else {
  6. header("Location: http://www.livecolonypark.com/view-pricing-and-availability/");
  7. }
  8.  
  9. ?>

Report this snippet  

You need to login to post a comment.