Home >Backend Development >PHP Tutorial >一个变量怎么获得获取两个cookie的值

一个变量怎么获得获取两个cookie的值

WBOY
WBOYOriginal
2016-06-23 13:57:201172browse

$user = getUserInfo($_COOKIE['username'],$_COOKIE['password']);

上述getUserInfo 需要用数组还是怎么实现呢


回复讨论(解决方案)

说说你想做什么,getUserInfo() 是干什么的?

至少得贴出getUserInfo()这个function

自己已看懂,谢谢

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