Answer the question
In order to leave comments, you need to log in
How to convert parameters from address bar (GET)?
Good day!
At the moment I am passing a variable to the php script via GET, as follows: http://site.ru/test.php?v=123
And I want to convert this view into the following:http://site.ru/test123
Ie, hide ".php?v=".
I understand that somehow it is necessary to configure .htaccess, but I don’t know how .. and I don’t know how to get an array from php. Tell me please.
Answer the question
In order to leave comments, you need to log in
1) Enable mod_rewrite on apache (if not enabled)
2) Set up xtaxess on cnc
3) Set up a single entry point, if not configured yet, and don't mess with test.php and other perversions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question