Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Linux & url'e, nie działa :/
Lisek54
post
Post #1





Grupa: Zarejestrowani
Postów: 112
Pomógł: 0
Dołączył: 6.12.2004
Skąd: Miastko

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


Mam problem używam Suse 9.3 php 4 i domyślnego apache 2. Mam taki kod:
  1. <?
  2. include("goraidol.php");
  3. gora();
  4. if(file_exists("art/$a.txt"))
  5. { 
  6. include("art/$a.txt");
  7. }
  8. else{
  9. echo("- <a href=arty.php?a=katalogi>Katalogi w linuksie</a>");
  10. }
  11. dol();
  12. ?>

Nie działa wpisuje arty.php?a=katalogi
plik katalogi.txt w katalogu art jest. :/

Na firefox to samo na mozilli też i Konqeror też (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Z góry dzięki (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Lisek54
post
Post #2





Grupa: Zarejestrowani
Postów: 112
Pomógł: 0
Dołączył: 6.12.2004
Skąd: Miastko

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


  1. <?
  2. global $a;
  3. include("goraidol.php");
  4. gora();
  5. if(file_exists("art/$a.txt"))
  6. { 
  7. include("art/$a.txt");
  8. }
  9. else{
  10. echo("- <a href=arty.php?a=katalogi>Katalogi w linuksie</a>");
  11. }
  12. dol();
  13. ?>

Dalem global $a; to samo już tak próbowałem.
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 - 12:50