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:
Dell PowerEdge Servers
  #1  
Old August 17th, 2001, 05:20 AM
dodgie dodgie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Milton Keynes, England
Posts: 70 dodgie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 43 m 19 sec
Reputation Power: 8
Send a message via ICQ to dodgie
dynamic WML?

Hi,

I am running Columbitech's WAP Connector with IIS.

I have a website (html) which uses PHP to do stuff to a database (enter stuff form forms, return its contents etc...). My PHP scripts do SQL queries on my MySql database and dynamically produces HTML pages of the results.

What I was wondering is if it is possible for me to use

<go method="post" href="examplescript.php">

or something liek that and then to have examplescript.php to produce wml pages as output?

If so, do I just echo wml code instead of regular html in the script or are there any special considerations?

I hope someone can help me, I'm only very new to wml...

Cheers

Dodgie
__________________
Think of the most annoyingly simple question and I've probably asked it on here!

Reply With Quote
  #2  
Old August 17th, 2001, 10:35 AM
jim_dewit jim_dewit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 1 jim_dewit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb same here

I have the exact same question.

I just recieved a contract to convert a e-commerce webpage to WAP. Im sure there is aspects of that page which will have to be dynamic.

Wondering if this is possible....

Reply With Quote
  #3  
Old August 18th, 2001, 09:17 AM
gareth_heyes gareth_heyes is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 14 gareth_heyes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi eveybody,

I've wrote a few WAP games using Perl and WML. You could use PHP to produce WML output, if you want it to be used on a mobile phone all you have to do it echo the WML header and echo the WML code. Provided that the web server allows WML mime type of course. See below for an example i've provided it in a PHP compatible format :-

// Prints the WAP header for the WAP browser
echo "Content-Type: text/vnd.wap.wml\n\n";

// Uses the WAPFORUM's XML DTD
echo "<?xml version=\"1.0\"?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \n";
echo "\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";

"echo your WML code here"

hope that helped

Reply With Quote
  #4  
Old August 18th, 2001, 10:23 AM
dodgie dodgie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Milton Keynes, England
Posts: 70 dodgie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 43 m 19 sec
Reputation Power: 8
Send a message via ICQ to dodgie
Thanks, that's just what I needed to know...

Thankyou very much

Richard

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > dynamic WML?


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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