Q:

Hide get parameters from generated URL

I have a form that is submitted via GET, because I need it to generate an unique URL for each submitted form. The current generated URL looks like the example below:  
http://example.com/index.php?StoreID=1&value=22000&orderID=HEQ6FMYH&option1=0&option2=0
<form name="form1" action="http://example.com/index.php" method="get">
    <input type="text" name="storeID" value="1" />
    <input type="text" name="value" value="22000" />
    <input type="text" name="orderID" value="<?php echo string_random(8);?>" />
    <input type="text" name="option1" value="0" />
    <input type="text" name="option2" value="0" />
    <input type="submit" />  
</form>

What I need to do is hide the get parameters from the generated URL. What is the best way to do it? 

A:

You can change the form to a POST, and add your unique string to the action. Now all the form data will be absent from the URL, but will be passed to the receiving page, and the resulting URL itself will be unique.
<form name="form1" action="http://example.com/index.php?orderID=<?php echo string_random(8);?>" method="post">
    <input type="text" name="storeID" value="1" />
    <input type="text" name="value" value="22000" />
    <input type="text" name="option1" value="0" />
    <input type="text" name="option2" value="0" />
    <input type="submit" />  
</form>

