summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0b8d911)
raw | patch | inline | side by side (parent: 0b8d911)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 13:52:40 +0000 (13:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 13:52:40 +0000 (13:52 +0000) |
html/main.php | patch | blob | history |
diff --git a/html/main.php b/html/main.php
index d0d182243bdac9a02fd5641f15a3b524fe5149df..9cea4577fc827f95b9b241096bd3b8723c213aef 100644 (file)
--- a/html/main.php
+++ b/html/main.php
$str = shell_exec( "curl -F uploaded_file=@/tmp/current.html http://127.0.0.1/w3c-markup-validator/check ");
if(!preg_match("/This Page Is Valid/",$str ))
print $str;
+ else
+ print '<p>
+ <a href="http://dyn-209/w3c-markup-validator/check?uri=referer"><img border="0"
+ src="http://dyn-209/w3c-markup-validator/images/vh401.png"
+ alt="Valid HTML 4.01!" height="31" width="88"></a>
+ </p>';
}
$_SESSION['plist']= $plist;