首先在打开IIS,然后在默认网站的属性–HTTP头–MMIE映射–文件类型–添加注册文件的类型: 复制代码 代码如下: Associated Extension MIME Type wml text/vnd.wap.wml...application/vnd.wap.wmlc wbmp image/vnd.wap.wbmp wmlsc application/vnd.wap.wmlscriptc wmls text/vnd.wap.wmlscript...wsc application/vnd.wap/wmlscriptc 现在你就可以在你的站点添加wml文件了。...如果是用ASP生成wml,必须包含这句: 复制代码 代码如下: 例如这个例子:test.asp 复制代码 代码如下: ldquo;-//WAPFORUM//DTD WML 1.1//EN” “http:...//www.wapforum.org/DTD/wml_1.1.xml“> Just A test on my wap site!
x-msvideo avi video/x-sgi-movie movie x-conference/x-cooltalk ice x-world/x-vrml wrl vrml text/vnd.wap.wml...wml application/vnd.wap.wmlc wmlc text/vnd.wap.wmlscript wmls application/vnd.wap.wmlscriptc wmlsc image
tomcat5.0的版本一般都已经对wml支持了,如果不支持的话,修改CATALINA_HOME/conf/web.xml。...– WML Source –> wml text/vnd.wap.wml...– WML Script Source –> wmls text/vnd.wap.wmlscript<...安装和其他的应用程序安装一样,下面我们编写一个简单的wml文件测试一下,关于wml以及wml script等高级用法将在后续的文章介绍。 bitsCN.com中国网管联盟 index.wml <?...DOCTYPE wml PUBLIC \”-//WAPFORUM//DTD WML 1.1//EN\” \”http://www.wapforum.org/DTD/wml_1.1.xml\”> <wml
text/sgml’, ‘sgm’ => ‘text/sgml’, ‘tsv’ => ‘text/tab-separated-values’, ‘wml...’ => ‘text/vnd.wap.wml’, ‘wmls’ => ‘text/vnd.wap.wmlscript’, ‘etx’ =>
‘text/rtf’, ‘sgml’ => ‘text/sgml’, ‘sgm’ => ‘text/sgml’, ‘tsv’ => ‘text/tab-separated-values’, ‘wml...’ => ‘text/vnd.wap.wml’, ‘wmls’ => ‘text/vnd.wap.wmlscript’, ‘etx’ => ‘text/x-setext’, ‘xsl’ => ‘text
=> ‘text/rtf’, ‘sgml’ => ‘text/sgml’, ‘sgm’ => ‘text/sgml’, ‘tsv’ => ‘text/tab-separated-values’, ‘wml...’ => ‘text/vnd.wap.wml’, ‘wmls’ => ‘text/vnd.wap.wmlscript’, ‘etx’ => ‘text/x-setext’, ‘xsl’ => ‘text
x-InstallShield wm video/x-ms-wm wma audio/x-ms-wma wmd application/x-ms-wmd wmf application/x-msmetafile wml...text/vnd.wap.wml wmlc application/vnd.wap.wmlc wmls text/vnd.wap.wmlscript wmlsc application/vnd.wap.wmlscriptc...wmlscript text/vnd.wap.wmlscript wmv audio/x-ms-wmv wmx video/x-ms-wmx wmz application/x-ms-wmz...wpt x-lml/x-gps wri application/x-mswrite wrl x-world/x-vrml wrz x-world/x-vrml ws text/vnd.wap.wmlscript
x-mpegurl'; $ct['tiff'] = 'image/tiff'; $ct['tif'] = 'image/tiff'; $ct['rtf'] = 'text/rtf'; $ct['wml...'] = 'text/vnd.wap.wml'; $ct['wmls'] = 'text/vnd.wap.wmlscript'; $ct['xsl'] = 'text/xml'; $ct['xml
'wbmp' => 'image/vnd.wap.wbmp', 'wbxml' => 'application/vnd.wap.wbxml', 'webm' => 'video/webm', 'wml...' => 'text/vnd.wap.wml', 'wmlc' => 'application/vnd.wap.wmlc', 'wmls' => 'text/vnd.wap.wmlscript',
text/rtf’, ‘sgml’ => ‘text/sgml’, ‘sgm’ => ‘text/sgml’, ‘tsv’ => ‘text/tab-separated-values’, ‘wml...’ => ‘text/vnd.wap.wml’, ‘wmls’ => ‘text/vnd.wap.wmlscript’, ‘etx’ => ‘text/x-setext’, ‘xsl’ =>
"audio/x-ms-wma", ".wmd": "application/x-ms-wmd", ".wmf": "application/x-msmetafile", ".wml...": "text/vnd.wap.wml", ".wmlc": "application/vnd.wap.wmlc", ".wmls": "text/vnd.wap.wmlscript"..., ".wmlsc": "application/vnd.wap.wmlscriptc", ".wmlscript": "text/vnd.wap.wmlscript", ".wmv...application/x-mswrite", ".wrl": "x-world/x-vrml", ".wrz": "x-world/x-vrml", ".ws": "text/vnd.wap.wmlscript
‘text/rtf’, ‘sgml’ -> ‘text/sgml’, ‘sgm’ -> ‘text/sgml’, ‘tsv’ -> ‘text/tab-separated-values’, ‘wml...’ -> ‘text/vnd.wap.wml’, ‘wmls’ -> ‘text/vnd.wap.wmlscript’, ‘etx’ -> ‘text/x-setext’, ‘xsl’ -> ‘text
后来当 WAP 在诺基亚 7110 上大行其道时,我还学习了 WML 和 WMLScript。...以下是我已经 10 多年来没用过的编程语言:Objective C、Visual Basic、Delphi、Perl、ActionScript、Logo、OpenScript、WMLScript。...至于 WMLScript 和 ActionScript 这种已经一去不复返的语言,我就把它们忘得一干二净了:如果我看到 WMLScript,我可能还记得它,但如果手头没有参考资料和书籍,我根本就写不出来...Perl、PHP、PL/SQL、PowerShell、Scratch、SQL、Swift、T-SQL、TypeScript、Visual Basic .NET、Visual Basic Classic 和 WMLScript
} 方法二:判断HTTP_ACCEPT if (isset($_SERVER['HTTP_ACCEPT']) && (strpos($_SERVER['HTTP_ACCEPT'],'vnd.wap.wml...&&(strpos($_SERVER['HTTP_ACCEPT'],'text/html')===FALSE || (strpos($_SERVER['HTTP_ACCEPT'],'vnd.wap.wml...并且不支持html那一定是移动设备 // 如果支持wml和html但是wml在html之前则是移动设备 if ((strpos($_SERVER['HTTP_ACCEPT...'], 'vnd.wap.wml') !...strpos($_SERVER['HTTP_ACCEPT'], 'text/html') === false || (strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml
} // 协议法,因为有可能不准确,放到最后判断 if (isset($_SERVER['HTTP_ACCEPT'])) { // 如果只支持wml...并且不支持HTML那一定是移动设备 // 如果支持wml和html但是wml在html之前则是移动设备 if (strpos($_SERVER['HTTP_ACCEPT...'], 'vnd.wap.wml') !...(strpos($_SERVER['HTTP_ACCEPT'], 'text/html') === false || strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml
* $Author: Zhihua_W */ function isMobile4() { if (isset ($_SERVER['HTTP_ACCEPT'])) { // 如果只支持wml...并且不支持html那一定是移动设备 // 如果支持wml和html但是wml在html之前则是移动设备 if ((strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml...strpos($_SERVER['HTTP_ACCEPT'], 'text/html') === false || (strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml
flexible and allows to specify application's I/O behavior using its extensive Workload Model Language (WML...make $sudo make install (注意:一定要安装 filebench 需要在/usr/local/share/filebench 下生成一些文件) 使用: filebench 需要根据 WML...github.com/filebench/filebench/wiki/Workload-model-language ,也可以参考wiki 进行整理了解 filebench工具的使用;filebench在wml...我们可以在原有的wml文件基础上根据我们自己的使用场景来定义负载。
} if (isset ($_SERVER['HTTP_ACCEPT'])) { if ((strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml...strpos($_SERVER['HTTP_ACCEPT'], 'text/html') === FALSE || (strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml
存放临时缓存等文件 12、themes:模板文件夹,可以随意拷贝模板样式 13、wap:手机浏览程序 --includes;公用文件和函数 --templates:页面模板 *.wml...无限标记语言WML(Wireless Markup Language)是一种基于扩展标记语言XML(Extension Markup Language)的语言,是XML的子集。...┃ ┣ user.php ┃ ┣ includes 的目录 ┃ ┃ ┣ init.php ┃ ┃ ┣ lib_main.php ┃ ┗ templates 的目录 ┃ ┣ article.wml...┃ ┣ article_list.wml ┃ ┣ brands.wml ┃ ┣ buy.wml ┃ ┣ category.wml ┃ ┣ comment.wml ┃ ┣ goods.wml...┃ ┣ goods_img.wml ┃ ┣ goods_list.wml ┃ ┣ index.wml ┃ ┣ login.wml ┃ ┣ order_list.wml ┃ ┗ user.wml
领取专属 10元无门槛券
手把手带您无忧上云