note 39754 deleted from function.setcookie by vincent
| From: | vincent@php.net | Date: | Mon, 09 Feb 2004 20:35:07 +0000 |
| Subject: | note 39754 deleted from function.setcookie by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64908@lists.php.net to get a copy of this message | ||
Note Submitter: DaXmAn
----
i have a simle script:
<?
$nowybuton = stripslashes("<input type=button value=$nazwa
onClick=parent.location.href=\'http://$adreswww\'
style=\"font-family: Comic Sans MS; font-weight: normal; font-style: normal; font-size: 9pt;
font-variant: normal; font-stretch: normal; color: #000000\">");
setcookie("butonsy",$nowybuton,time()+3600);
echo "Buton prosto ze zmiennej:<br>";
echo $nowybuton;
echo "<br><br>";
echo "Button ze zmiennej HTTP_COOKIE_VARS[butonsy]<br>";
echo $HTTP_COOKIE_VARS[butonsy];
?>
why in line echo $HTTP_COOKIE_VARS[butonsy]; in output html are still \ chars?