How to hide URL from users when submitting this form?

Posted by Camran on Stack Overflow See other posts from Stack Overflow or by Camran
Published on 2010-06-09T09:59:59Z Indexed on 2010/06/09 10:02 UTC
Read the original article Hit count: 140

Filed under:
|
|
|
|

I have a form with many many fields...

When submitting these fields, I use the POST method which hides the actual variables passed along to the PHP page.

However, I can't get rid of the complete link.

Changing from GET to POST did make all the form fields invisible in the URL, but this part is still visible:

 mydomain.com/bin/query#

I want it to be invisible, or say:

 mydomain.com/search

I have mod_rewrite enabled so there is a possibility to do this with mod_rewrite I think, but I am new to mod_rewrite so I need your help...

How should I hide this URL?

If you need more input let me know...

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript