Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php] include('o.php?o=error');
baah
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 17.06.2007

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


Witam,

otóż mam kolejny problem (IMG:http://forum.php.pl/style_emoticons/default/angrysmiley.gif)

o tyle o ile w odnośnikach mogę użyć czegoś takiego:

<a href="index.php?o=cos">

to czemu nie mogę używać czegoś takiego w include ? (IMG:http://forum.php.pl/style_emoticons/default/snitch.gif)

np. include('o.php?z=abc'); (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)

czym takie coś zastąpić ? (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)


pozdrawiam, bH
Go to the top of the page
+Quote Post
strife
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 605
Pomógł: 96
Dołączył: 22.10.2004
Skąd: UK

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


Czemu niby nie możesz, podaj kod. Poza tym jeśli dobrze się domyślam, chcesz wczytać kilka stron.

Kod
?o=test&z=dupa


(IMG:http://forum.php.pl/style_emoticons/default/snitch.gif)
Go to the top of the page
+Quote Post
baah
post
Post #3





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 17.06.2007

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


  1. <?php
  2. switch($o)
  3. {
  4. case ac:
  5. include('articles.php?kk=articles');
  6. break;
  7. }
  8. ?>


proszę (IMG:http://forum.php.pl/style_emoticons/default/snitch.gif)
Go to the top of the page
+Quote Post
kriqs
post
Post #4





Grupa: Zarejestrowani
Postów: 148
Pomógł: 0
Dołączył: 31.05.2006

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


  1. <?php
  2. switch($o)
  3. {
  4. case ac:
  5. $kk = 'articles';
  6. include('articles.php');
  7. break;
  8. }
  9. ?>


glowy nie dam (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post

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: 15.09.2025 - 12:35