CodeIgniter Forums

Full Version: getting encypted string with "/" from url?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Alpha[/eluser]
my url is composed of base_url/controller/method/encrypted_string

controller/method/3EswnLt0/u9mlull+7gITTaSqo2bru7bSvg8KmZU5z5f0tJcftktUXzucE4XcT9ZMptftPc/demPfbZqcUPVpw==

encrypted string = 3EswnLt0/u9mlull+7gITTaSqo2bru7bSvg8KmZU5z5f0tJcftktUXzucE4XcT9ZMptftPc/demPfbZqcUPVpw==

the encrypted_string is generated by CI encryption class. to get the encrypted string i need to get the $this->uri->segment(3) but the problem is that the encrypted string has / which segments itself

how do i get it?

is there another way to generate encryption without / ? tnx