Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - luk

Pages: [1]
1
Quote
Message # 1013612:
Date: 10/01/02 18:00
By: Johnny Profile
Subject: wml + php solution...

Hi All!

I found an interesting diference between my solution and this article.
Almost everything is the same, but when i'm using the
header (Content-Type: text/vnd.wap.wml); function, my phone says "Response unknown" or "No response, try again"
I have Nokia 6510 mobile.
So I don't use the header function and everything works well :)

Here is my sample code what I use.

<?php
echo "<?xml version\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>

<wml>
<card id="main" title="First Wap page">
<p>Here is a php number:
<?php $i=1; echo $1;
<br/>
</p>
</card>
</wml>

Thats all.
Bye.

http://www.phpbuilder.com/annotate/message.php3?id=1013612

I have Nokia6100 and i get the same error with some WML scripts.I can't imagine what the problem is.If anyone can help me(us) please post it here al their experience ( knowledge ) about this problem.

WAP Chats :

MobiiliChat 1.07
Code: [Select]
http://www.mobiilichat.com/forum/mobiilichat_v1.07.zip
W@Pchat Ver.1.2
Code: [Select]
http://www.earthweb.biz/myscript.php?file=wapchat.zip
GumSlone WAP Chat2 and 1.05
Code: [Select]
http://gumslone.com/scripts/wap_chat_v2.zip
http://gumslone.com/scripts/GS_WAP_CHAT_V1.0.5.zip


I have install it in my PC Apache + PHP + MySQL with WML support.All in one package : XAMPP for WINDOWS

Quote
http://www.apachefriends.org/en/xampp-windows.html

All 3 WML scripts works with WINWAP 3.2
Quote
http://www.winwap.com/products_2_1.php


BUT IN MY NOKIA6100 just MobiiliChat works 100%.The rest 2 scripts didn't work ,and i get "File Format Unknow" ERROR.

Look the 3 WML script header functions :

MobiiliChat 1.07
Quote
header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1");



W@Pchat Ver.1.2
Quote
header("Content-type: text/vnd.wap.wml");



GumSlone WAP Chat2 and 1.05
Quote
header("Content-type:text/vnd.wap.wml;charset=UTF-8");


It might be possible to be this header problem? MobiiliChat 1.07 works 100% for me, bust rest 2 NOT WORK !




Pages: [1]