|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I need to post the variables to validate the user of this page... I want to pass them to the index.php, wich will tell to wich page the validation should be passed.
I used the post method (if (isset($_POST["section"]) && $_POST["section"] != ""){include 'sources/' . $_POST["section"] . '.php'} to come to this page (the listing bellow). -------------------------login.php-------------------------- {insert name=header content="Content-Type: text/vnd.wap.wml"} <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd" > <wml> {include file="meta.tpl"} <card id="main" title="Prijavni obrazac"> <onevent type="onenterforward"> <refresh> <setvar name="in_br_indeksa" value=""/> <setvar name="in_lozinka" value=""/> <setvar name="br_indeksa" value=""/> <setvar name="lozinka" value=""/> <setvar name="section" value="" /> </refresh> </onevent> <p> Br. indeksa: <input type="text" name="in_br_indeksa" /><br /> Lozinka: <input type="password" name="in_lozinka" /><br /> <anchor> <go href="index.php" method="post"> <postfield name="br_indeksa" value="$in_br_indeksa" /> <postfield name="lozinka" value="$in_lozinka" /> <postfield name="section" value="validate" /> </go> Prijava </anchor> </p> </card> </wml> ------------------------------------------------------------ When I follow the link (anchor "prijava") my browser stands still. Does anybody have a clue? Thanx in advance. |
|
#2
|
|||
|
|||
|
You would more than likely have better luck with this post if you put it in the PHP forum...
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Problems with the POST method. Please help! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|