Home  >  Article  >  Backend Development  >  一个变量如何获得获取两个cookie的值

一个变量如何获得获取两个cookie的值

WBOY
WBOYOriginal
2016-06-13 11:56:461348browse

一个变量怎么获得获取两个cookie的值
$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