Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Na Nazwa.pl dziala na lh.pl nie ?, problem z wyswietlaniem strony
noc_nik
post
Post #1





Grupa: Zarejestrowani
Postów: 95
Pomógł: 0
Dołączył: 24.06.2003
Skąd: Kielce

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


Witam mam taki problem z wyświetlaniem strony :


.htaccess
  1. <?php
  2. php_flag register_globals 1
  3.  
  4. RewriteEngine On
  5. RewriteRule ^([^/]*).html$ /index.php?go=$1 [L]
  6. RewriteRule ^([^/]*)/([^/]*).html$ /index.php?go=$1&id=$2 [L]
  7. ?>


  1. <?php
  2.  
  3.    include("libs/Smarty.class.php");
  4.    $smarty = new Smarty();
  5.        
  6.    mysql_connect ("","","") or die (mysql_error());
  7.    mysql_select_db ("");
  8.                
  9.    include("meta.php");
  10.    include("top.php");
  11.    include("menu.php");
  12.    
  13.    
  14.     if(!isset($go)){
  15.      include("promocje.php");
  16.      }
  17.        else if($go=="home"){
  18.      include("promocje.php");
  19.    }  else if($go=="o-firmie"){
  20.      include("o-firmie.php");  
  21.          }  else if($go=="sklep"){
  22.      include("sklep.php");
  23.      }  else if($go=="kontakt"){
  24.      include("kontakt.php");  
  25.      }  else if($go=="wyslij"){
  26.      include("wyslij.php");
  27.      } else
  28.      echo "<center><br><b>ERROR 404</b></center>";
  29.      
  30.      include("stopka.php");
  31.  
  32. ?>



i na nazwa.pl ladnie all dziala a na lh juz nie co mam zrobic ?
Jesli skasuje .htaccess to strona sie wyswietli ale nie bedzie przechodzilo miedzy dzialami

Ten post edytował noc_nik 6.08.2009, 09:04:25
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: 3.10.2025 - 04:41