Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Problem z include
szymon91
post
Post #1





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 8.03.2007

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


Witam, problem lezy najprawdopodobniej w konfiguracji php.
Mam kod:
  1. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
  2. <link rel="StyleSheet" href="styl.css">
  3. </head>
  4. <div id="top">
  5. <div id="header"><?php include("header.htm"); ?></div>
  6. <div id="menu"><?php include("menu.htm"); ?></div>
  7. <div id="info"><?php include("add_info.htm"); ?></div>
  8. <div id="main"><?php include("form.php"); ?></div>
  9. <div id="foot"><?php include("foot.htm"); ?></div>
  10. </div>
  11. </body>
  12. </html>


Kod ten działa jeśli rozszerzenie pliku jest .php , ale gdy zmienie na rozszerzenie .htm to już nie działa. Jak to zmienić?
Go to the top of the page
+Quote Post

Posty w temacie


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: 25.09.2025 - 19:38