![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 208 Pomógł: 0 Dołączył: 5.03.2005 Ostrzeżenie: (20%) ![]() ![]() |
Powiedzcie mi jak to jest z tym XHTML'em.
Chcę na stronie zgodnej z XHTML 1.1 zamieścić skrypt php. I tu jest problem ponieważ stronę muszę zapisać jako *.php aby skrypt się wykonał i wtedy validator wypisuję coś takiego: 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 recieved 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. In the latter case you should let us know that you need us to support that content type (please include all relevant details, including the URL to the standards document defining the content type) using the instructions on the Feedback Page. Oto początek mojej strony, powiedzcie gdzie tkwi problem: <?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-2\"?>"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl"> <head> |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 13:44 |