|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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/ |
|
#3
|
|||
|
|||
|
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... |
|
#4
|
|||
|
|||
|
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/ |
|
#5
|
|||
|
|||
|
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.... |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
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] |
|
#8
|
|||
|
|||
|
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. |
|
#9
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > How It works........... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|