Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Closed TopicStart new topic
> WAZNE!
-Gość_Edi-
post
Post #1





Goście







Witam mam pytanie jak zrobic np. link by prowadzil do http://xxx.pl/dupa/
ale zeby w przegladarce wpisali np. http://xxx.pl/?kategoria=dupa
Go to the top of the page
+Quote Post
__phpion__
post
Post #2





Grupa: Zablokowani
Postów: 50
Pomógł: 0
Dołączył: 8.08.2004

Ostrzeżenie: (10%)
X----


Pisze to na zywo, bez testowania ale powinno dzialac: w index.php robisz tak:
  1. <?php
  2. $kategoria = $HTTP_GET_VARS[&#092;"kategoria\"];
  3.  
  4. if (is_dir($kategoria))
  5. {
  6. header(&#092;"Location: adres.twojej.strony/\".$kategoria);
  7. }
  8. ?>

Dziala?
Go to the top of the page
+Quote Post
-Gość_Edi-
post
Post #3





Goście







Błąd:
Warning: Cannot modify header information - headers already sent by (output started at /home/accounts_e/edi/public_html/index.php:5) in /home/accounts_e/edi/public_html/index.php on line 73
Go to the top of the page
+Quote Post
scanner
post
Post #4





Grupa: Zarząd
Postów: 3 503
Pomógł: 28
Dołączył: 17.10.2002
Skąd: Wrocław




Zamykam do czasu otrzymania PW od autora, co zrobił źle podczas zakładania tego wątku.
Go to the top of the page
+Quote Post

Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 14.09.2025 - 13:34