daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $cookie = array(
  4.                    'name'   => 'sort_order',
  5.                    'value'  => 'The Value',
  6.                    'expire' => '86500',
  7.                    'domain' => '.some-domain.com',
  8.                    'path'   => '/',
  9.                    'prefix' => 'myprefix_',
  10.                );
  11.  
  12. set_cookie($cookie);
  13. ?>
  14. <?php echo get_cookie('sort_order');?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top