Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> index.php?id=art&txt=1
Usr
post
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 21.05.2004

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


Jak mam zrobic "podwojne includowanie" zeby bylo tak, ze wchodze w artykoly(index.php?id=art) i klikam pierwszy to zeby sie on wyswietlil? Czy moze jest nie potrzebne podwojne includowanie i mam w glownym pliku zaincludowac?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
HaRy
post
Post #2





Grupa: Zarejestrowani
Postów: 152
Pomógł: 0
Dołączył: 15.05.2002
Skąd: Łódź

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


Cytat(Junior @ 2004-09-27 12:31:00)
  1. <?php
  2.  /* ... */
  3. if(file_exists(&#092;"include/$_GET[s].php\")) {
  4. include(&#092;"include/$_GET[s].php\");
  5. }
  6.  /* ... */
  7. ?>


albo index.php?s=cos
i wyswietla sie include/cos.php

tia ... index.php?s=../index bedzie szczegolnie ciekawe ...

gratuluje junior...
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: 12.10.2025 - 00:07