Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] problem ze zmienną GET...
djpotwosss
post
Post #1





Grupa: Zarejestrowani
Postów: 87
Pomógł: 1
Dołączył: 3.12.2008

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


witam, wstawilem ten kod w pliku index.php i mi wyskauje


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request

Kod
<?php
switch($_GET['dzial']){
case 'Powstanie_NSZZ': include('podstrony/Powstanie_NSZZ.php'); break;
case 'Upadek_Komunizmu':  include('podstrony/Upadek_Komunizmu.php'); break;
case 'Powstanie_PRL':  include('podstrony/Powstanie_PRL.php'); break;
case 'Wybuch_Elektrowni':  include('podstrony/Wybuch_Elektrowni.php'); break;
case 'Strajki':  include('podstrony/Strajki.php'); break;
case 'Okragly_Stol':  include('podstrony/Okragly_Stol.php'); break;
case 'Inne':  include('podstrony/Inne.php'); break;
default: include('podstrony/index.php'); break;
}
?>


a jak wstawie w podstronie, np. nazwa page.php to bez wachania chodzi... co jest grane?

Ten post edytował djpotwosss 3.01.2009, 23:04:58
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: 16.09.2025 - 17:43