htmlspecialchars()和之间有什么区别htmlentities()?我什么时候应该使用其中一种?
htmlspecialchars()
htmlentities()
php
我有一个php Web应用程序,它使用大型cookie来存储大量用户数据.如果我在apache服务器上设置mod_gzip,它会仅压缩页面内容还是会压缩cookie?
php apache cookies
php ×2
apache ×1
cookies ×1