![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 81 Pomógł: 0 Dołączył: 12.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
z góry mówię, że jeżeli pomyliłem kategorię to proszę o przeniesienie, nie wiedziałem gdzie to dać. A więc mam problem, chcę skorzystać z Mod_Rewrite na stronie no i jeden działa, a dwa nie. (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) Mój .htaccess : RewriteEngine on RewriteRule ^index,([0-9])$ index.php?set=$1 RewriteRule ^index,([0-9]),([a-zA-Z]+)$ index.php?set=$1&id=$2 RewriteRule ^index,([0-9]),([a-zA-Z]+),([a-zA-Z]+)$ index.php?set=$1&id=$2&get=$3 RewriteRule ^index,([0-9]),([a-zA-Z]+),([a-zA-Z]+),([a-zA-Z]+)$ index.php?set=$1&id=$2&get=$3&show=$4 RewriteRule ^index,([0-9]),([a-zA-Z]+),([a-zA-Z]+),([a-zA-Z]+)$ index.php?set=$1&id=$2&get=$3&pokaz=$5 RewriteRule ^index,([0-9]),([a-zA-Z]+),([a-zA-Z]+),([a-zA-Z]+)$ index.php?set=$1&id=$2&get=$3&polecamy=$6 No i te 2 ostatnie linijki nie chcą działać, (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) Co poprawić? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 81 Pomógł: 0 Dołączył: 12.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
Ehh.. już tracę na to silę. (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)
Proszę o jakąś wskazówkę, bo kombinuje męczę się i nic z tego (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) @edit: Aha, chyba wiem o co chodzi. Po prostu zamiast jednego ([a-z-A-Z]+) dać nazwę pliku jaki jest wczytywany ? (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif) I on go wczyta? Ten post edytował Mlody993 14.07.2009, 19:30:35 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 12.10.2025 - 12:53 |