I updated the PHP API interface to the W3’s html validator with two new methods:
validateFile($file)
validateFragment($file)
The two methods allow you to validate a local file which is uploaded to the validator, or a string of html code.
Test it out or comment on the PEAR proposal.
Download Services_W3C_HTMLValidator
Comment @ PEAR Proposal for “Services_W3C_HTMLValidator”