Home > Backend Development > PHP Tutorial > 请教php能不能读写客户端的cookies

请教php能不能读写客户端的cookies

WBOY
Release: 2016-06-13 12:32:34
Original
792 people have browsed it

请问php能不能读写客户端的cookies?
用php读写客户端的cookies,发现有问题,只能用js来读取再调用php文件。
这样弄起来转了几层,不知道用php能否直接读取客户端的cookies?

//js代码


//读取cookies
function setCookie()...
function getCookie()...
//调用php
document.write("<script></script>");

谢谢各位高手指点!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template