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 |
?> |
?> |
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> |