修改wap游戏服务器,做WAP服务器问题

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

我是用易语言的

我想用服务器组件做一个WAP服务器

先没有网页头

直接发送网页数据

电脑可以访问

手机不行

后来我访问

http://wap.baidu.com/

去掉cookies后

获得了一个网页头

HTTP/1.1 200 OK

Server: HTTP Load Balancer/1.0

Expires: Thu, 01 Jan 1970 00:00:00 GMT

Content-Type: text/vnd.wap.wml; charset=UTF-8

Date:

Cache-Control: no-cache

Pragma: no-cache

这个是我修改的网页。应该没问题

请输入密码:

登录

然后现在的情况是。电脑浏览是下载文件。这是当然。不支持WAP网页。

手机浏览就进不去了。

现在显示一个

This page contains the following errors:

error on line 9 at column 1: Encoding error

Below is a rendering of the page up to the first error.

手机

ZTE-T U880

系统

CyanogenMod 7.2

浏览器

UC V8.7.4.225 build1211272042

User-Agent: Mozilla/5.0 (Linux; U; Android 2.3.7; zh-cn; ZTE-T U880 Build/Vaj) UC AppleWebKit/534.31 (KHTML, like Gecko) Mobile Safari/534.31

现在我就不解了。到底怎么才行。。。

首先手机没有网页头就是不会识别了是不是?

现在到底要怎样才能让我的WAP网页数据被手机识别啊

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 我是用易语言的 我想用服务器组件做一个WAP服务器 先没有网页头 直接发送网页数据 电脑可以访问 手机不行 后来我访问 http://wap.baidu.com/ 去掉cookies后 获得了一个网页头 HTTP/1.1 200 OK Server: HTTP Load Balancer/1.0 Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Type: text/vnd.wap.wml; charset=UTF-8 Date: Cache-Control: no-cache Pragma: no-cache 这个是我修改的网页。应该没问题 请输入密码: 登录 然后现在的情况是。电脑浏览是下载文件。这是当然。不支持WAP网页。 手机浏览就进不去了。 现在显示一个 This page contains the following errors: error on line 9 at column 1: Encoding error Below is a rendering of the page up to the first error. 手机 ZTE-T U880 系统 CyanogenMod 7.2 浏览器 UC V8.7.4.225 build1211272042 User-Agent: Mozilla/5.0 (Linux; U; Android 2.3.7; zh-cn; ZTE-T U880 Build/Vaj) UC AppleWebKit/534.31 (KHTML, like Gecko) Mobile Safari/534.31 现在我就不解了。到底怎么才行。。。 首先手机没有网页头就是不会识别了是不是? 现在到底要怎样才能让我的WAP网页数据被手机识别啊
经验分享 程序员 微信小程序 职场和发展