[Bug 2418] PHP file validation

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2418

           Summary: PHP file validation
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P5
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: bsaliba@hotmail.com
         QAContact: www-validator-cvs@w3.org


I am receiving the follwoing error when I try to validate a .php file;

Sorry, I am unable to validate this document because its content type is 
application/octet-stream, 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). 

That you received this message can mean that your server is not configured 
correctly, that your file does not have the correct filename extension, or 
that you are attempting to validate a file type that we do not support yet.

However, If I JUST rename the file to .html it passes validation.

What could be the problem?
Thanks

Received on Tuesday, 25 October 2005 18:58:06 UTC