Quantcast
Channel: BlogoSfera » parameter?
Viewing all articles
Browse latest Browse all 12

How to write .htaccess file to get everything after slash as parameter?

$
0
0

I have a URL i.e “www.mysite.com”. I want to send parameters via url in following ways: www.mysite.com/count www.mysite.com/search_caption?query=huha www.mysite.com/page=1 www.mysite.com/search_caption?query=huha&page=1 In each of these cases I want to load index.php page with parameters as follows for each case: var_dump($_REQUEST) results into [count] var_dump($_REQUEST) results into [query="huha"] var_dump($_REQUEST) results into [page=1] var_dump($_REQUEST) results into [query="huha",page=1] How […]

The post How to write .htaccess file to get everything after slash as parameter? appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 12

Trending Articles