我想将一个接触有限的网页加载到服务器。我有一个跨应用程序链接,但 safari 只是不会打开数据:uri。无论如何要以 http:// 开头吗?url 中的 javascript 怎么样,http://javascript:window.location="data:"?
我不想联系服务器(离线的东西)。
如果没有,我可以使用一个简单的 php 页面来重定向它吗?前任:
http://someserver/index.php?input="data:text/html;charset=UTF-8,htmlhere"
并在 php 脚本中:
<meta http-equiv="refresh" content="0;url=< ?php echo($GET_['input']); ?>" />