Tools, FAQ, Tutorials:
Sending a Cookie to the Browser in PHP
How To Send a Cookie to the Browser in PHP?
✍: FYIcenter.com
If you want to sent a cookie to the browser when it comes to request your PHP page, you can use the setcookie( ) function. Note that you should call setcookie() function before any output statements. The following script shows you how to set cookies:
<?php
setcookie("LoginName","FYICenter");
setcookie("PreferredColor","Blue");
print("2 cookies were delivered.\n");
?>
⇒ Receiving a Cookie from the Browser in PHP
2016-11-04, ∼2551🔥, 0💬
Popular Posts:
How to troubleshoot the Orderer peer? The Docker container terminated by itself. You can follow this...
How to create a new API on the Publisher Dashboard of an Azure API Management Service? If you are ne...
How to use the "find-and-replace" Policy Statement for an Azure API service operation? The "find-and...
What Azure AD App Registration Manifest? Azure AD App Registration Manifest is JSON file that contai...
How to add an API to an API product for internal testing on the Publisher Portal of an Azure API Man...