Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Wielojezycznosc strony
zabolek
post
Post #1





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

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


witam mam problem mam kod


  1. if(!isset($_SESSION['lang']) && trim($_GET['lang']) == '') {
  2. $_SESSION['lang'] = 'polish';
  3. include('language/polish/index.php');
  4. } else {
  5. $_SESSION['lang'] = $_GET['lang'];
  6. include('language/'.$_SESSION['lang'].'/index.php');
  7. }


i po odswiezeniu strony jak sie pokaze lang to wywala mi to


  1. Warning: include(language//index.php) [function.include]: failed to open stream: No such file or directory in include/functions.php on line 9
  2.  
  3. Warning: include() [function.include]: Failed opening 'language//index.php' for inclusion (include_path='.:/usr/local/lib/php') in include/functions.php on line 9



tak jak by nie mogl go zapamietac (IMG:style_emoticons/default/sad.gif)
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: 23.08.2025 - 06:09