and currently perl code<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapfo +rum.org/DTD/wml_1.1.xml"> <wml> <card id="main" title="Wap-Uk.com"> <do type="accept" label="Submit"> <go method="post" href="/cgi-bin/wap/test.cgi?user=$(username)&p +ass=$(password)"> </go> </do> <p> Please enter your username: <input type="text" name="username"/> </p> <p> Please enter your password: <input type="password" name="password"/> </p> </card> </wml>
use CGI::WML; my $q = new CGI::WML; #param call no working #my username=$q->param(username); #use query string instead my $qStr = $ENV{'QUERY_STRING'};
In reply to WML parameters -WAP it out by hakkr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |