/[james]/httplint/index.php
ViewVC logotype

Diff of /httplint/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 55 by james, Thu Mar 11 19:05:02 2004 UTC revision 57 by james, Fri Mar 12 21:54:21 2004 UTC
# Line 17  header('Last-Modified: ' . Line 17  header('Last-Modified: ' .
17  if (isset($url)) {  if (isset($url)) {
18          $u = htmlspecialchars($url);          $u = htmlspecialchars($url);
19          echo "<h2>Results for <a href=\"$u\">$u</a></h2>";          echo "<h2>Results for <a href=\"$u\">$u</a></h2>";
20          $output = shell_exec('/home/james/Projects/httplint/httplint ' .          passthru('/home/james/Projects/httplint/httplint --html ' .
21                          escapeshellarg($url));                          escapeshellarg($url));
         echo '<pre>';  
         echo htmlspecialchars($output);  
         echo '</pre>';  
22  } else {  } else {
23          $u = 'http://';          $u = 'http://';
24          ?>          ?>

Legend:
Removed from v.55  
changed lines
  Added in v.57

  ViewVC Help
Powered by ViewVC 1.1.26