PHP & localStorage; [closed]

≯℡__Kan透↙ 提交于 2019-12-17 18:36:44

问题


I've searched around for use of localStorage in PHP, as I need to get localStorage data as a $var, in PHP and do stuff in PHP with it. Is this possible?

P.S. If anybody knows any good HTML5 resources, other than what can be easily found on Google, please share.


回答1:


localStorage is something that is kept on the client side. There is no data transmitted to the server side.

You can only get the data with JavaScript and you can send it to the server side with Ajax.



来源:https://stackoverflow.com/questions/3855337/php-localstorage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!