求WAP2.0中跳页的HTML的代码

来源:百度知道 编辑:UC知道 时间:2024/06/11 14:12:22

1. 没有中间页的跳转:直接用PHP发送一个头信息:Location: http://xxx.com/xx.php
<?php
header("Location: http://xxx.com/xx.php");

其他代码的类似,只要头信息一样就行

2.有中间跳转页,用<meta http-equiv="refresh" content="3 url=http://wap.google.cn" />

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<