Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [mod_rewrite][PHP] mod_rewrite i nieprawidłowe wartości $zmiennych
-foxy-
post
Post #1





Goście







  1. Options FollowSymLinks
  2. RewriteEngine On
  3.  
  4. RewriteRule ^([a-zA-Z0-9\-\_\.]+)$ read.php?desc=$1 [L]
  5. RewriteRule ^([a-zA-Z0-9\-\_\.]+)/([a-zA-Z0-9]+)$ read.php?desc=$1&sub=$2 [L]


Po przejściu przez .htaccess $_GET['desc'] ma wartość 'read.php' (IMG:style_emoticons/default/ohmy.gif) , a $_GET['sub'] zawsze jest puste (IMG:style_emoticons/default/ohmy.gif) . Co jest nie tak?
Go to the top of the page
+Quote Post

Posty w temacie


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: 20.12.2025 - 22:03