Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [inne][htaccess]Dodanie znaków specjalnych do htaccess
Johnas
post
Post #1





Grupa: Zarejestrowani
Postów: 650
Pomógł: 16
Dołączył: 5.07.2010
Skąd: Ściśle Tajne

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


Witam mam taki kod, potrzebuje do tego dorzucić [] oraz - , Jak to uczynić, kiedy to

  1. RewriteRule ^profile/([\s%20\s%3Fa-zA-Z0-9_.?]+)/$ index.php?profile=$1
  2. RewriteRule ^profile/([\s%20\s%3Fa-zA-Z0-9_.?]+)$ index.php?profile=$1


zamienię na

  1. RewriteRule ^profile/([\s%20\s%3Fa-zA-Z0-9_-.?]+)/$ index.php?profile=$1
  2. RewriteRule ^profile/([\s%20\s%3Fa-zA-Z0-9_-.?]+)$ index.php?profile=$1


Dostaje 500 :/ mam chęc wyrzucić monitor przez okno :/ idę po fajki bo nie wyrabiam z tym htaccessem :/

Naprawiłem, człowiek po papierosie inaczej myśli (IMG:style_emoticons/default/smile.gif) jest bardziej dotleniony , czy teraz mogę sobie sam dać pomógł? (IMG:style_emoticons/default/tongue.gif)

  1. RewriteRule ^profile/([\s%20\s%3Fa-zA-Z0-9-_\[\].]+)$ index.php?profile=$1
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Johnas
post
Post #2





Grupa: Zarejestrowani
Postów: 650
Pomógł: 16
Dołączył: 5.07.2010
Skąd: Ściśle Tajne

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


Ponieważ Twój post był bardzo pomocny i to dlatego (IMG:style_emoticons/default/biggrin.gif) Warto było się spytać, bo jak to mówią, kto pyta nie błądzi (IMG:style_emoticons/default/biggrin.gif)

PS.
Nospor, już wiem dlaczego taka liczba pomocy u Ciebie (IMG:style_emoticons/default/biggrin.gif)

Ten post edytował GodOfPeople 4.04.2016, 12:46:34
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: 10.10.2025 - 16:25