Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> index.php i XHTML, Błąd przy walidacji PHP 2 problemy
JohnySpot
post
Post #1





Grupa: Zarejestrowani
Postów: 106
Pomógł: 0
Dołączył: 9.09.2003
Skąd: Włocławek

Ostrzeżenie: (0%)
-----


Kiedy mam plik o rozszerzeniu php pojawiają się dwa problemy:

1. Validator Wogóle nie chce interpretować pliku wyrzuca:

Cytat
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.


2. Kiedy mam plik php to mogę zaczynać w XHTML-u TYLKO <?php ?> ale rozpoczęcie <? ?> to też php. Więc kiedy wstawiam:

Kod
<?xml version="1.0" encoding="iso-8859-2"?>


Dostaje błąd php ! Bo zapisałem w znacznikach php "kod", który dla php jest błędny, wiem, że ten element nie jest niezbędny ale jak to ominąć (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) Czy Komenatrz - skomentowanie tej linii coś da ? Bo powiem szczerze, że nie wiem dokładnie jak są interpretowane komentarze :/

Ten post edytował JohnySpot 29.04.2005, 06:13:36
Go to the top of the page
+Quote Post

Posty w temacie
- JohnySpot   index.php i XHTML   29.04.2005, 06:13:20
- - matid   1. Cytat(JohnySpot @ 2005-04-29 07:13:20)Sorr...   29.04.2005, 06:31:02
- - bela_666   Ad 1 [PHP] pobierz, plaintext <?phpheader('...   29.04.2005, 10:33:43
- - dr_bonzo   1. A moze inaczej: w jaki sporsob validowales pl...   29.04.2005, 11:31:38
- - JohnySpot   Nie działa :/ a waliduje pliki podając swój plik p...   29.04.2005, 11:46:42
- - bela_666   Cytat(dr_bonzo @ 2005-04-29 11:31:38)@bela_66...   29.04.2005, 13:17:15
- - JohnySpot   Wiecie co to nie działa :/ może napiszcie mi jakąś...   29.04.2005, 13:27:40
- - bela_666   Cytat(JohnySpot @ 2005-04-29 13:27:40)Wiecie ...   29.04.2005, 14:06:24
- - Zajec   Cytat(JohnySpot @ 2005-04-29 13:27:40)Wiecie ...   29.04.2005, 16:17:56
- - JohnySpot   Ładuje nie z adresu tylko z pliku php np. taki: [P...   29.04.2005, 16:32:26
- - bela_666   Ehh, zapisz wynik skryptu i dopiero ten wrzuc do w...   29.04.2005, 17:09:49
- - JohnySpot   Wielkie dzięki I mam jeszcze coś ... Mam taki oto...   29.04.2005, 17:26:08
- - Zajec   Cytat(JohnySpot @ 2005-04-29 17:26:08)[HTML] ...   30.04.2005, 08:08:30
- - sopel   Cytat(Zajec @ 2005-04-30 08:08:30)Eh, chyba n...   30.04.2005, 08:58:37
- - JohnySpot   Jak tacy dobrzy jesteście to jak bez div-ów imituj...   30.04.2005, 18:31:19
- - xarr   Sopel tu juz nawet nie chodzi o przypadlosc nazwan...   2.05.2005, 09:14:35
- - JohnySpot   Chciałbym czuć się swobodnie w pozycjonowaniu ......   2.05.2005, 11:17:03
- - sopel   smiem twierdzic ze slabo szukales. stron o pisaniu...   2.05.2005, 11:23:48
- - xarr   JohnySpot: jak nie umiesz chociazby na tym forum z...   2.05.2005, 11:35:23
- - Zajec   Cytat(JohnySpot @ 2005-04-30 18:31:19)Jak tac...   10.05.2005, 20:39:16


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.09.2025 - 03:49