You are here: Re: [PHP] wml help,please! « PHP « IT news, forums, messages
Re: [PHP] wml help,please!

Posted by Richard Miller on 02/24/05 05:35

Does your page work in another phone? When you visit your page in a
(normal, computer) web browser, do you see the WML code you expect?

Richard

On Feb 23, 2005, at 7:33 AM, 牛坤 wrote:

>
> Dear phpers,
>
> I'm new to wml. And I got such problem:
> I can browse my wml page with opera.
> But when I use my Nokia 7650, I always get unknown reply error.
> My server is redhat 9, My php is 4.2
> The following is one of my test page.
> <?php
> Header("Content-type: text/vnd.wap.wml; charset=UTF-8");
> Header("Cache-Control: Max-age=1800");
> /*
> header("Expires: 0");
> Header("Cache-Control: no-cache, must-revalidate");
> */
> echo '<?xml version="1.0" encoding="UTF-8"?>';
> echo '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
> "http://www.wapforum.org/dtd/wml3.dtd">';
> echo '<wml>
> <card>';
> //test
> echo "php";
>
> echo '
> </card>
> </wml>';
>
> ?>
>
> Any help would be appreciated.
>
> Sincerely,
> Kun
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация