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, 1355👍, 0💬
Popular Posts:
Where to find tutorials on JSON (JavaScript Object Notation) text string format? I want to know how ...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
What is Azure API Management Developer Portal? Azure API Management Developer Portal is an Azure Web...
What Is Azure API Management Service? Azure API Management as a turnkey solution for publishing APIs...
Where to find tutorials on Using Azure API Management Developer Portal? Here is a list of tutorials ...