/ Published in: PHP
URL: http://ksoft.is-great.org
To set cookie use "cookie('name of your cookie','cookie data','expire date ')" it will set your cookie in the user browser . To get the saved cookie use "cookie('name of your cookie')" it will give you the value of the cookie which you saved in the user's browser .
Expand |
Embed | Plain Text
<?php /* If you have doubt please ontact me : [email protected] */ function cookie($name , $val = null , $exp = 0){ if($val == null) return $_COOKIE[$name]; else{ } } ?>
You need to login to post a comment.
