|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
WML - Work in Emulator but didn't work on Mobile Phone
I need help, my script work on emulator, but when I uploaded it, it didn't work when I browse it using my mobile. Would you please check my script, please
=============== index.wml =============== Code:
<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta http-equiv="Cache-control" content="no-cache"/></head>
<card id="login1" title="User Login">
<p>
<do label="Login" type="accept">
<go href="cek_login.php" method="post">
<postfield name="username" value="$user"/>
<postfield name="password" value="$pass"/>
<postfield name="tipe_user" value="$type"/>
</go>
</do>
Username:
<input type="text" title="Username" name="user"/> <br/>
Password:
<input type="text" title="Password" name="pass"/> <br/>
Tipe User:
<select name="type">
<option value="admin">Admin</option>
<option value="siswa">Siswa</option>
<option value="guru">Guru</option>
<option value="ortu">Ortu</option>
</select>
</p>
</card>
</wml>
====================== check_login.php ====================== PHP Code:
|
|
#2
|
||||
|
||||
|
Hi bintang - welcome to Dev Shed.
First off, can you explain what "doesn't work" means? For your login processing, 2 things stand out....Secondly, you have not encapsulated your text within the required <card> and <wml> tags....
__________________
Cheers, Jamie # mdb4u | 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 > WML - Work in Emulator but didn't work on Mobile Phone |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|