/[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 58 by james, Fri Mar 12 22:46:42 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          ?>          ?>
# Line 46  missing headers and suggests improvement Line 43  missing headers and suggests improvement
43  source</a> is available. Created by  source</a> is available. Created by
44  <a href="mailto:james.bursa@strcprstskrzkrk.co.uk">James Bursa</a>.  <a href="mailto:james.bursa@strcprstskrzkrk.co.uk">James Bursa</a>.
45    
46  <p>Thanks to Michael Drake for the icon.</p>  <p>Thanks to <a href="http://www.smoothartist.com/">Michael Drake</a>
47    for the icon.</p>
48    
49  </body>  </body>
50  </html>  </html>

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

  ViewVC Help
Powered by ViewVC 1.1.26