Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] dołączanie plików require , problem z polskimi znakami, problem przy stosowaniu require
predom
post
Post #1





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 1.09.2007

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


Mam problem z polskimi literami ą , ś .... jeśli dołaczam pliki ( funkcja require ) , występują krzaczki

kod :

--------------------------------------------
glowna.php

  1. <?php
  2. require('naglowek.inc');
  3. ?>
  4. <!-- zawartosc -->
  5. <p>Frima Prosimy o poświęcenie .</p>
  6. <?
  7. require('stopka.inc');
  8.  ?>


naglowek.inc
  1. <META http-equiv=Content-Type content="text/html; charset=ISO-8859-2">
  2. <title>TLA CONSULTING</title>
  3. <style type="text/css">
  4. body {background-color: white}
  5. h1 {color:white; font-size:24pt; text-align:center;
  6. font-family:arial,sans-serif}
  7. .menu {color:white; font-size:12pt; text-align:center;
  8. font-family:arial,sans-serif; font-weight:bold}
  9. td {background:black}
  10. p {color:black; font-size:12pt; text-align:justify;
  11. font-family:arial,sans-serif}
  12. p.foot { color:white; font-size:9pt; text-align:center;
  13. font-family:arial,sans-serif; font-weight:bold}
  14. a:link,a:visited,a:active {color:white}
  15. </style>
  16. </head>
  17.  
  18. <!-- naglowek -->
  19. <table width="100%" cellpading="12" cellspacing="0" border="0">
  20. <tr bgcolor="black">
  21. <td>
  22. <h1>firma</h1>
  23. </td>
  24. </tr>
  25.  
  26. <!-- menu -->


stopka
  1. <table width="100%" bgcolor="black" cellpading="12" border="0">
  2. <tr>
  3. <td>
  4. <p class="foot">Firma</p>
  5. <p class="foot">Prosimy odwiedzić ś </p>
  6. </td>
  7. </tr>
  8. </body>
  9. </html>


Ten post edytował predom 3.09.2007, 12:39:24
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: 24.08.2025 - 01:26