lundi 30 mars 2015

Submit input value without the name in the URL

Is there a way to submit an input field value without getting its name in the URL?


I use a form with method GET for search, when I submit the form, I get something like this:



/file/?inputname=value


I want to get it this way:



/file/value


Otherwise: if the first solution is not possible, how can I modify the .htaccess to rewrite the URL in the above way(I mean: /file/?inputname=value), but please take in mind I use 2 parameters in the URL dir1/file/?inputname=value .


Thanks in advance


Aucun commentaire:

Enregistrer un commentaire