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
  #1  
Old August 14th, 2000, 04:05 AM
mfkoo mfkoo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 65 mfkoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Hi, i am new here using wml to do a wap page, i have some question hope someone can help...please

1) i have created first page for wap page and will let user to key in a search str, then, i try to create a do the link to a file call run.php, can it be run? or it is nessecely to be run.wml. But i am using php script to process it...

2) How is the overall structure on page and file relationship in order to do a wap processing page....

I hope someone can help me.......thank you very much

Reply With Quote
  #2  
Old August 17th, 2000, 07:12 PM
sglane sglane is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 36 sglane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to sglane
You can use a php extension.
I don't understand your second prob.


------------------
Sglane
sglane@yahoo.com
ICQ : 16225268
Yahoo! : sglane
"Save trees, eat beaver."
<?y!php3++??>
http://www.directnic.com/
http://www.fastband.net/~gabe/

Reply With Quote
  #3  
Old August 17th, 2000, 09:53 PM
mfkoo mfkoo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 65 mfkoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Hi, thanks for your reply...

The second pro is:

Is there a need to create a different wml deck id? Can i use a create.php file to create a wml file which the deck id is same...

Reply With Quote
  #4  
Old August 23rd, 2000, 04:39 PM
sglane sglane is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 36 sglane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to sglane
If you have more than one card in a deck, you need unique card id's. The deck names can be the same across the site.

One more thing, is english your primary language?

------------------
Sglane
sglane@yahoo.com
ICQ : 16225268
Yahoo! : sglane
"Save trees, eat beaver."
<?y!php3++??>
http://www.directnic.com/
http://www.fastband.net/~gabe/

Reply With Quote
  #5  
Old August 25th, 2000, 03:13 AM
mfkoo mfkoo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 65 mfkoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I had tried to put the file(.htaccess) with the code below into cgi-bin which the search.cgi is located.

AddType text/vnd.wap.wml wml cgi
AddType image/vnd.wap.wbmp wbmp
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc

BUT, the problem still cannot be fixed?
It prompt the error message:-
Unsupported Content-type: text/html

why? Am i put the file wrongly or the code inside .htaccess??

Can please help, this is urgent....thanksssss

***I use search.cgi to process a search in wap....

Reply With Quote
  #6  
Old August 28th, 2000, 11:26 AM
nir211 nir211 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 2 nir211 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
I'm using ASP on 2000 Server to generate database driven WML pages. Your problem is b/c you didn't set the MIME type of the page to text/wml or the other type (you mentioned b4). You should either set the extension pf your generated file to be of that MIME type, or set the type inside every page. I know how to do it in ASP, not in php, but the idea is the same.

------------------
Nir.

Reply With Quote
  #7  
Old September 8th, 2000, 05:29 AM
kplnarayan kplnarayan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 2 kplnarayan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi,

I have a site developed on ASP and Nt platform . now I want to send an SMS based on some database trigger(SQl7.0)
my question is: how do u send the phone no or carrier name to WAP gateway.

a sample code would be helpful

thanks


<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by nir211:
Hi,
I'm using ASP on 2000 Server to generate database driven WML pages. Your problem is b/c you didn't set the MIME type of the page to text/wml or the other type (you mentioned b4). You should either set the extension pf your generated file to be of that MIME type, or set the type inside every page. I know how to do it in ASP, not in php, but the idea is the same.

[/quote]


Reply With Quote
  #8  
Old September 10th, 2000, 05:48 AM
nir211 nir211 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 2 nir211 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
HI,

Sorry, but I'm currently looking for material on this matter (SMS and other push technology). You seem to have some basic knowledge, can you point me to resources on utilizing SMS through servers?

Thanx.



------------------
Nir.

Reply With Quote
  #9  
Old October 9th, 2000, 10:56 AM
sharky121 sharky121 is offline
...try and try again
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Lake Forest, CA, USA
Posts: 182 sharky121 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 3 sec
Reputation Power: 8
Here's how you send the Content-type in php.

<?php

header("Content-type: text/vnd.wap.wml");
echo("<?xml version="1.0"?>");
echo("<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">");

?>


Hope it helps,

Sharky

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > How It works...........


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