Re: wml help,please!
| From: | Richard Miller | Date: | Thu, 24 Feb 2005 03:35:40 +0000 |
| Subject: | Re: wml help,please! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209311@lists.php.net to get a copy of this message | ||
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