|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Help!!! Urgent !! Thanks
the following is the coding i found from internet resouces.. but it seems like not working... can some one to help me figure out? thanks very much
<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id = "index"> <onevent type="onenterforward"> <refresh> <setvar name="Password" value="" /> </refresh> </onevent> <p> Enter password : <input name="password" type="password" format="15M" /> </p> <do type="accept"> <go href="ValidatePassword.wmls#CheckPassword('$Password')" /> </do> </card> </wml> the following coding is an extension file named ValidatePassword.wmls extern function CheckPassword(Password) { if (Password == "Secret") WMLBrowser.go("AddressList.wml"); else { Dialogs.alert("Invalid password"); WMLBrowser.newContext(); WMLBrowser.go("index.wml"); } } |
|
#2
|
||||
|
||||
|
So what exactly isn't working
![]() Also, don't mark threads as urgent. They be urgent to you, but this a free forum, people help here out of courtesy and eagerness to learn. If you are desperate for help, get PAID support, or at least contact the site where you got the script from.
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ 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. __________________ Last edited by jabba_29 : July 20th, 2005 at 03:32 AM. Reason: additional info |
|
#3
|
|||
|
|||
|
dear jamie.
the problem is just when i submit the password. it returned error. It is really no problem with the coding? thanks for ur reply.. really appreciate ![]() |
|
#4
|
||||
|
||||
|
I am only using firefox, so not 100% tested right, but there are 2 screens. First says ....Warning: this WML page uses a construct 'onevent' with type 'onenterforward' not supported by wmlbrowser.....
The second has all the info you have supposedly input. When you click yes on the second card, you get a 405 error page. IS this the issue? If so, it may be because you are possibley having a perl script outside your cgi-bin. To rememdy this, you may want to make a copy of AddressListAdd.pl in your cgi-bin, then in your previous form, make the action point to the script in the cgi-bin. Best consulting your hosting company on how exactly your cgi's are supposed to work, but this may be the issue. __________________ Cheers, Jamie # Any form of employment is strictly prohibited...... # Read the forum guidelines and search before asking a smart question! # Fold for the cure! Last edited by jabba_29 : July 26th, 2005 at 10:59 PM. |
|
#5
|
|||
|
|||
|
thanks jamie. exactly the problem i facing. but i still not clear how to put another copy into cgi bin. where the cgi bin located? thanks a lot. this is my final year project.
|
|
#6
|
||||
|
||||
|
You need to check with your host. They will have information somewhere on thier site I am sure. Pretty sure the perl script would need the correct path to the bin too.
__________________ Cheers, Jamie # Any form of employment is strictly prohibited...... # Read the forum guidelines and search before asking a smart question! # Fold for the cure! Last edited by jabba_29 : July 26th, 2005 at 10:59 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Help!!! Urgent !! Thanks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|