WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old September 20th, 2004, 04:05 PM
abraksas abraksas is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 abraksas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Problems with the POST method. Please help!

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.

Reply With Quote
  #2  
Old September 20th, 2004, 07:08 PM
k0r34nb0y k0r34nb0y is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 65 k0r34nb0y User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 36 sec
Reputation Power: 5
You would more than likely have better luck with this post if you put it in the PHP forum...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Problems with the POST method. Please help!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway