Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Php profile?=2 zamiast profile.php?id=2
wiktor0000
post
Post #1





Grupa: Zarejestrowani
Postów: 31
Pomógł: 0
Dołączył: 29.04.2018

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


Tak jak w temacie jakieś pomysły jak to zrobić
Sorry że spamuje (IMG:style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
aras785
post
Post #2





Grupa: Zarejestrowani
Postów: 859
Pomógł: 177
Dołączył: 29.10.2009

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


W htaccess musisz dodać:

  1. RewriteEngine On
  2. RewriteRule ^profile?=([0-9]+)$ /profile.php?id=$1
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: 12.10.2025 - 03:43