Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Nov 2003
    Messaggi
    726

    Validatore W3C per codice HTML dentro programma PHP

    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!

  2. #2
    Utente di HTML.it
    Registrato dal
    Nov 2003
    Messaggi
    726
    Che scemotto che sono, mi sono risposto da solo

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.