setrawcookie()
setrawcookie is used to set the cookie like setcookie function but it's cookie value will not automatically be urlencoded when send to the browser.
Syntax
setrawcookie()
Example:
<?php
$expire=time()+60*60*24*30;
$value ="raj the great";
setrawcookie("cookie", rawurlencode($value), $expire);
echo $_COOKIE["cookie"]; # view one cookie value
?>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.