Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [mod-rewrite] nie dzialajaca regulka
Balon
post
Post #1





Grupa: Zarejestrowani
Postów: 422
Pomógł: 0
Dołączył: 14.12.2005
Skąd: Wałbrzych

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


Kod
RewriteRule ^film/([0-9]+)/(.*)/$ index.php?mdl=movie&id=$1 [L,NC]
RewriteRule ^film/([0-9]+)/(.*)$ index.php?mdl=movie&id=$1 [L,NC]
RewriteRule ^film/([0-9]+)/(.*)/([0-9]+)/$ index.php?mdl=movie&id=$1&cp=$3 [L,NC]
RewriteRule ^film/([0-9]+)/(.*)/([0-9]+)$ index.php?mdl=movie&id=$1&cp=$3 [L,NC]


mam takie regulki,
2 pierwsze to jest strona z filmem
2 kolejne maja dodatkowy parametr cp - numer strony komentarzy

Kod
http://bzdury.pl/t2/film/1090/Kolekcja_ostrych_wypadk%F3w/10

jak wpisuje cos takiego i printuje GET to mam cos takiego
Kod
Array ( [mdl] => movie [id] => 1090 )


czemu nie pobiera mi CP ?


--------------------
Postura wielka i morda wredna, jestem Balon, kozak z osiedla !
bzdury.pl - Królestwo rozrywki
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: 19.08.2025 - 13:39