我可以显示所有我在PHP中设置的cookies吗? [英] Can I display all the cookies I set in PHP?
本文介绍了我可以显示所有我在PHP中设置的cookies吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图诊断我的Cookie中的错误,但Cookie的名称不是他们应该的。
I am trying to diagnose an error in my cookies, but the names of the cookies are not what they should be. Is there a way in PHP to print all the cookies that have been set by my domain?
推荐答案
有没有尝试过:
print_r($_COOKIE)
这篇关于我可以显示所有我在PHP中设置的cookies吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文