![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 30.05.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam dzisiaj musze zmienic serwer i niestety na nowym jest tylko php5, a mam skrypt który często używam i musi mi działać na nowym serwerze a niestety niedziala, jest to include do otwierania podstron w ramkach ladnie wygladajacych (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) he mysle ze po kodzie poznacie o co mi chodzi, wdzieczny bym byl jakyscie mi szybko pomogli.
<? if (($dzial=="." and $art="t_tekst") or $art=="../index" or $art=="t_tekst") { if (file_exists("xirus/index.php")){ include("xirus/index.php"); } } else { if ($dzial=="") { if (file_exists("xirus/index.php")){ include("xirus/index.php"); } } else { if (file_exists($dzial)) { if($art=="") { $dzial = basename($_GET['dzial']); if (file_exists("$dzial/index.php")){ include("$dzial/index.php"); } } else { $dzial = basename($_GET['dzial']); $art = basename($_GET['art']); if (file_exists("$dzial/$art.php")) { include("$dzial/$art.php"); } } } else { if (file_exists("xirus/index.php")){ include("xirus/index.php"); } } } } ?> |
|
|
![]() ![]() |
![]() |
Aktualny czas: 30.09.2025 - 09:05 |