I’m studying a way of encoding or encrypting my url variables, but I don’t see how to get them back…
Having this
_link_=Home&nc=1&plw=950&pmw=0&prw=
I used to do $_GET['_link_']
but when base64_encode the url like
base64_encode("_link_=Home&nc=1&plw=950&pmw=0&prw=");
echo base64_decode($string);
how do I get my _link_ or my nc variables back?
Thanks
If you have something like http://www.example.com/?BASE64ENCODEDSTRINGHERE, you can do the following:
In this case you will have same data in
$getdataarray as you would normally have in $_GET.