Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][OOP] jak zrobic wyswietlanie show?id= ?
rafal5225
post
Post #1





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 1.03.2011

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


witam (IMG:style_emoticons/default/smile.gif)
ucze sie programowac w OOP, rozdzielilem juz sobie projekt na model, widok i kontroler.
no i mam dwa pliki: index.php ktory wyswietla z bazy tytuly i show.php, ktore wyswietla opis. no i jak sie teraz zabrac za to, zeby stworzyc cos w stylu
/show?id=2 a nie /show.php?id=2 ?

pozdrawiam
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
rafal5225
post
Post #2





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 1.03.2011

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


dzieki juz mniej wiecej kapuje, ale dalej mam problem.

zrobilem tak:

Kod
RewriteRule ^show /show.php


i teraz mi wywala blad

Internal Server Error

Cytat
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


prosilbym o rozwiazanie (IMG:style_emoticons/default/smile.gif)
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: 15.10.2025 - 05:10