Re: [PHP] decrypting query string back into $_GET['var'] [resend]

2005-10-03 Thread Graham Anderson
Is this the safest way to send GET variables ? Guess I am trying to improve my code :) //-- // 'Sending' PHP script: require_once("/home/includes/encryption.inc"); $str =encrypt(urlencode("movie=mymovie.mov&mask=mask.gif&drag=drag.gif")); $finalURLSt

Re: [PHP] decrypting query string back into $_GET['var']

2005-09-30 Thread Graham Anderson
So is this the best/safest way within reason ? //-- // 'Sending' PHP script: require_once("/home/includes/encryption.inc"); $str =encrypt(urlencode("movie=mymovie.mov&mask=mask.gif&drag=drag.gif")); $urlString = $pathtoReceivingScript.$str ; //---

Re: [PHP] decrypting query string back into $_GET['var']

2005-09-29 Thread Graham Anderson
thanks :) that was exactly what I needed g On Sep 29, 2005, at 9:33 AM, Jochem Maas wrote: Graham Anderson wrote: 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($queryStri

Re: [PHP] decrypting query string back into $_GET['var']

2005-09-29 Thread Jochem Maas
Graham Anderson wrote: 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 w

[PHP] decrypting query string back into $_GET['var']

2005-09-29 Thread Graham Anderson
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 v