Ho del codice HTML dentro un programma PHP e per prova (visto che sto aggiornando le pagine a XHTML) ho provato a fare la validazione della pagina (ovvio che avrebbe dato una marea di errori visto che il codice era html puro) pero ricevo il messaggio:
codice:
Result:  	 Failed validation
File:	index.php
Encoding:	
Doctype:	

Sorry, I am unable to validate this document because its content type is application/octetstream, which is not currently supported by this service.

The Content-Type field is sent by your web server (or web browser if you use the file upload interface) and depends on its configuration. Commonly, web servers will have a mapping of filename extensions (such as ".html") to MIME Content-Type values (such as text/html).
Quindi se il validatore supporta solo pagine html o htm come faccio con un'estensione php?

tnx e buona pasqua!