Hi,
I've picked up work on a site done by somebody else and the code is in a bit of a mess. I want to run it through html tidy to get it tidied up, get some structure to it before I start ripping the pages apart and re-organising it along the lines I usually work. There are a lot of pages and I want to automate the process using html tidy.
I tried using
exec('tidy.exe -config config.txt index.html', $errors, $result);
using info gleaned from http://www.w3.org/People/Raggett/tidy/
but nothing happens.
Am I missing something?
Thanks
Paul