Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] taki url nie dziala "index.php?id=cos"
nszablin
post
Post #1





Grupa: Zarejestrowani
Postów: 22
Pomógł: 0
Dołączył: 6.12.2005

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


Witajcie.
Wlasnie zainstalowalem server apache 2.2 + php 5.1.4 i nie wiem dlaczego nie dzialaja linki w formie "index.php?id=cos" moze ktos cos podpowie. Z gory wielkie dzieki
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
nszablin
post
Post #2





Grupa: Zarejestrowani
Postów: 22
Pomógł: 0
Dołączył: 6.12.2005

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


jest aktualna wywalilem troche zbednego opis
kod wyglada mniejwiecej tak:
klikam link:

  1. <a href="http://localhost/index.php?id=cos_tam\" target=\"_blank\">cos_tam</a>


nastepnie wykonuje sie:

  1. <?php
  2. switch (TRUE)
  3. {
  4. //Menu glowne
  5.  case ($id == 'aktywacja'): include("moduly/user/user.php"); break;
  6.  case ($id == 'newuser'): include("moduly/user/user.php"); break;
  7.  case ($id == 'newuseradddone'): include("moduly/user/user.php"); break;
  8.  case ($id == 'passremind'): include("moduly/user/user.php"); break;
  9.  case ($id == 'logout'): include("moduly/login/logout.php"); break;
  10.  case ($id == 'newuseradddone'): include("moduly/user/user.php"); break;
  11.  case ($id == 'upload_files'): include("testplik/index.php"); break;
  12.  case ($id == 'glowna'): default: include("glowna.php");
  13. }
  14. ?>


co otwiera odpowiednia strone

Ten post edytował nszablin 6.10.2006, 11:32:13
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 9.10.2025 - 19:05