문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

This is probably a good place to start with

http://www.devshed.com/c/a/php/html5-client-side-cache-in-php/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top