English 中文(简体)
能否将档案作为静态的html档案保存在头盔信息中?
原标题:is it possible to save a file as static html file with header information?

我想给我的植被客户一个文件,以上载服务器。 我急切希望它依赖服务器辅助技术(PHP、ASP等),因此我不得不保持变化。

The file contains html and javascript (it does redirect based on local cookies). I also need this file to have a special header (P3P privacy policy).

我怎么能制作一个包含用户能够上载到服务器的头盔信息的超文本文档?

问题回答

超文本与标题信息无关。 标题是吉大港山区财产,这是最常用的向浏览器发送超文本程序。 如果你想存储主机信息,就必须将这些信息与文件分开储存,并由网络服务器或将适当头盔发送到浏览器的服务器边文字阅读。

然而,许多吉大港定居地的头盔具有相当的成分,可以装入超文本。 就P3P而言,您可使用link tag,在外部政策档案中指明URL,为这一教育而储存P3P。

<link rel="P3Pv1" href="some uri">

Note that this won t be particularly efficient if you have a large number of files each with different policies since P3P policies are generally fairly small and will require an extra request from the client. But I believe this is the best you can get without any integration with the specific sever used by the client.





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签