English 中文(简体)
如何在PHP中向W3C Validator提交代谢?
原标题:Solution to do submit-for-validation to W3C Validator in PHP?

利用W3C Validator(即: beta-)网站,通常必须上网,但我却避而不谈。 或者使用直接投入方法。 Say hello 连续复制和复制;过去。

www.un.org/Depts/DGACM/index_french.htm

The "direct input methods" submits the input as a form (no surprise here). In other words: The actual validation-page receives a POST request.

<>So>: 我能够建立联系(即,在我的标准页脚中),导致当地人提交ForValidation。 php(而不是与有效器的正常联系。

在这一档案中,I应......

  • grab the Referer-URL it just came from (yes, within PHP curling the localhost server...)
  • submit that as the body of a POST request to the W3C page: http://validator.w3.org/check

是否可行? 有些人已经这样做了?

Frank

问题回答

我仍然不明白你试图做些什么。 如果你想通过操纵《持久性有机污染物手册》数据进行直接投入验证,你就可以安装“湿度”有效器,然后按照你的意愿加以修改。 参见安装文件here

如果你想要确认X超文本或超文本页面,你可以使用

如果你要保证其有效,你也可以通过http://de2.php.net/manual/en/Function.ob-tidyhandler.php” rel=“nofollow”><>ob_tidyhandler<><>a>。 但指出,由于每个服务人员都在检查和修理缓冲区,这将受到一些绩效处罚。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...