Home >Backend Development >PHP Tutorial >Scope of cookies in php_PHP tutorial

Scope of cookies in php_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-21 15:52:59963browse


setcookie("cookie name", "value", "scope")
Scope "/" means that COOKIE acts on all files in the root directory
Scope "/ROOT/" means that COOKIE acts on All files in the ROOT directory under the root directory

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318775.htmlTechArticlesetcookie("cookie name","value","scope") Scope "/" indicates the role of COOKIE The scope "/ROOT/" of all files in the root directory means that COOKIE acts on all files in the ROOT directory under the root directory...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn