![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 263 Pomógł: 9 Dołączył: 3.05.2009 Skąd: Wroc Ostrzeżenie: (0%) ![]() ![]() |
Witam,
w htacces mam zdeklarowane tak Cytat RewriteRule ([^-]*).html$ index.php?ak=$1 [L] RewriteRule ^news-([^-]*).html$ index.php?ak=news&art=$1 [L] w pliku php tak
a przy podaniu wartości w przeglądarce index.php?ak=news&art=1 wyświetla normalnie a wyrzuca mi błąd Kod Warning: include(_inc/pages/6.php) [function.include]: failed to open stream: No such file or directory in C:\Users\serwin\WebServ\httpd\felis\cms\index.php on line 87 Warning: include() [function.include]: Failed opening '_inc/pages/6.php' for inclusion (include_path='.;C:\php5\pear') in C:\Users\serwin\WebServ\httpd\felis\cms\index.php on line 87 znalazłem przyczynę jest ona w mod rewrite a dokładnie muszę moją zmienną wywołać następująco Kod RewriteRule ([^-]*).html,([^-]+)$ index.php?ak=$1&art=$2 [L]
Ten post edytował XP'ek 21.08.2010, 14:50:14 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 16.06.2025 - 21:51 |