设置相同名称的cookie,如何返回它们的值
程序员文章站
2022-06-09 10:59:58
...
方法为:
SetCookie("mycookie[]","It's just cookie test!!!","The second");
echo $mycookie[0];
echo $mycookie[1];
SetCookie("mycookie[]","It's just cookie test!!!","The second");
echo $mycookie[0];
echo $mycookie[1];