|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Calling CGI from WML
Hi
Ive done a bit of trolling on this but havent found anything that has helped....hence the post. Im trying to call a CGI script from a WML page but am having issues with a constant "Unsupported Content" message coming back from the emulator Im using (Openwave).Ive checked the Apache config and all seems fine for content types. Below is the snippet that calls the .wmls file which in turn calls the CGI: Code:
<do type="accept" label="Go">
<go href=Settings.wmls#goUrl("localhost:80/cgi-bin/Send_WAP_Request.cgi?MSISDN=$(MSISDN)&Handset=$(Handset)&Settings_Type=$(Settings_Type)")/>
</do>
This is the .wmls file: Code:
extern function goUrl(url) {
WMLBrowser.go(url)
}
Ive changed the url to the below, but still am'nt getting anywhere. Code:
<do type="accept" label="Go">
<go href=Settings.wmls#goUrl("test.wml")/>
</do>
Any help is much appreciated. Cheers Liam |
|
#2
|
||||
|
||||
|
Hi Liam,
I can only suggest 2 things: 1) Try it on a real phone if you can, there are some limitations with the emulator 2) Make sure that you have the full card output * and that your &s are actually & * I assume that you do and you are only posting snippets. Can you post more of the output code? Also see this post for more details.
__________________
Cheers, Jamie # mdb4u | The mobile movie database | Please help to test and promote # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. ![]() __________________ |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Mobile Programming > Calling CGI from WML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|