Can't get Tidy to Work...
Posted: 17. February 2008 21:17
I downloaded Xampp and am currently trying to get Tidy to work with PHP. Has anyone done this before, and if so, is it possible to point me in the right direction?
https://community.apachefriends.org/f/
https://community.apachefriends.org/f/viewtopic.php?f=16&t=28570
// example of 'tidy_repair_string()' function
ob_start();
?>
<html>
<head>
<title>This file will be parsed by Tidy</title>
</head>
<body>
<p>This is an erroneous line
<p>This is another erroneous line</i>
</body>
</html>
<?php
$fileContents=ob_get_clean();
$tidy=tidy_repair_string($fileContents);
echo $tidy;
I have downloaded php_tidy.dll
In php.ini I have uncommented extension=php_tidy.dll.