php - passing variables in url without using $_GET method -


i want send variables this:

examplesite/var1/var2/var3/...

instead of this:

examplesite/?ex1=var1&ex2=var2&ex3=var3&...

you're question poorly constructed, guess need apache rewriteengine, i.e.:

create file named .htaccess on root of website , add following content:

rewriteengine on rewriterule ^([^/]*)/([^/]*)/([^/]*)$ /some_page?ex1=$1&ex2=$2&ex3=$3 [l] 

Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -