What is the best way to decrypt a query string back into variables ?
$root = "http://www.myserver.com/script.php";
$queryString = "?test=mytest&color=red";
myEncrypt($queryString); //add mCrypt encryption
$finalURL = $root.$encryptedQueryString;
what is the proper what to decrypt the GET variables on the other side ?
Do you need to decrypt the query string first ?
decrypt($_SERVER['QUERY_STRING']);
Once you have decrypted it, can you pass it along to a $_GET as you
would with an unencrypted query string ?
$test = $_GET['test'];
Or, do you need to parse the string to extract variables?
many thanks
g
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php