Esato Mobile
Sony Ericsson / Sony : GPRS, WAP, MMS and Email setup : wml & php coding...very wierd...Can you Help me out?
> New Topic
> Reply
< Esato Forum Index > Sony Ericsson / Sony > GPRS, WAP, MMS and Email setup > wml & php coding...very wierd...Can you Help me out? Bookmark topic
Sentertainment Posts: 290

Ok, here is my forums (WAP)
http://www.sentertainment.net/forums2.php

Well how it tranfers variables is very wierd...I don't think a WAP&PHP Standard was set!!!

I made the code to tarnfer variables through urls, here is how it worked with WinWAP, but not with my phone: (I believe this is browser standard)
page.php?var1=value&var2=value#card

but this worked on my phone but not under WinWAP: (Another way to tranfer, using the ";" for sep.)
page.php?var1=value;var2=value#card

what do I do...I need a script that will let both work...is there any other way...

http://validator.w3.org/ said the secong way has no errors...
is WinWAP wrong?

Can others test my script running the second way on their phones...
I'd like to know which is more "Standardized"...

Edit: typo in title

[ This Message was edited by: Sentertainment on 2004-02-25 02:16 ]
--
Posted: 2004-02-25 03:15:42
Edit : Quote

superunknown Posts: > 500

wml is easy. Php you will need to pair it with mySQL. This message was posted from a T610
--
Posted: 2004-02-25 03:21:01
Edit : Quote

lamebot Posts: 132

& is the correct way to separate the querystring variables.

If you send this:

page.php?var1=value;var2=value#card

your var1 will get a value of "value=;var2=value".

So I would say Winwap is wrong. Maybe it can't handle fragments (remove the #card to test that).

One more reason to hate Winwap - I uninstalled the trial version but it left its mime types lying around so no I always get an emtpy window with the missing plugin icon as soon as I click a wml link
--
Posted: 2004-02-25 19:45:02
Edit : Quote

Sentertainment Posts: 290

huh...the second way is way off...doesn't even pass the variable...

I think some WML browsers are limited to only one variable...
I'll just use some fancy string spliting code to do this...too bad, it'll make it take longer!
--
Posted: 2004-02-26 03:52:51
Edit : Quote

New Topic   Reply
Forum Index

Esato home