Hi i have come across some urls of the type "http://localhost/jsfweb/cat/query/" where query is a string that will return some results from a mysql database. I am familiar with urls of the type "http://localhost/jsfweb/cat.php?query=query" how can i use those urls with php?
Hi i have come across some urls of the type http://localhost/jsfweb/cat/query/ where query is
Share
Use modrewrite
You do something like this:
Inside a file named ‘.htaccess’
Where on the left side, there is a Rewrite rule with a regular expression and on the right, this is the real link like you know.