Hello again,
i want ask if i can use php in the wrt. So when there is a chance, can someone tell me how i can do this?
thanx
florianhaar
Hello again,
i want ask if i can use php in the wrt. So when there is a chance, can someone tell me how i can do this?
thanx
florianhaar
Hi florianhaar,
PHP is a server side language, so you cannot use it INSIDE a Web Runtime widget.
What you can do is to use it on a remote server to receive/send data from/to your widget.
Pit
Hello jappit,
i have this
$Version="1"; auth="user"; loc="50.9435,6.9582"; $Path=/.../...
it is for a cookie. But how can I send this to the server? That is my biggest problem.
Hope you or someone can help me.
thanx
florianhaar
you could try normla HTTP queries, here's some exmaples: http://wiki.forum.nokia.com/index.ph...th_WRT_widgets
do you know in which example they use cookies?
thanx
florianhaar
Sorry, those were just for the sending to the server, you were asking, only cookie article I know would be this one: http://wiki.forum.nokia.com/index.ph...s_and_with_XHR
ok, i read this article, but that is not helpful.
thanx
florianhaar
Hi florianhaar,
use javascript.
Look one example here: http://www.w3schools.com/JS/js_cookies.asp.
Br,
Orange Santos
Hi florianhaar,
You can't use cookie in WRT. Actually, do you need to pass information to the server? This server is yours? You can pass by url or try to pass with POST METHOD. If you need to persist a data in device you should use widget.setPreferenceForKey(value, key);
Javier Zambrano Ferreira