Advertisement
brookedot

Untitled

Aug 11th, 2011
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2. $domain = "example.com"
  3. $get_cookie_check = $_GET['view_full_site'];
  4.      if(isset($get_cookie_check)){  
  5.       if($get_cookie_check =='false'){
  6.           //unset the cookie
  7.            setcookie("mobileesp_wp_full_site", 'true', time()-3600, "/", $domain);
  8.        }
  9.      }
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement