Welcome Guest, Not a member yet? Register   Sign In
encrypting url/HIde url segments?
#1

[eluser]Unknown[/eluser]
Hi!
How can i encrypt url? example:http://test.com/Hr2/index/system_controller/re_action
in this url I was in system_controller class in the controller and in the re_action function of it. my question is;how can I encrypt url instead of displaying this ----
http://test.com/Hr2/index/system_controller/re_action
I want to hide "system_controller/reaction" in the url so instead of displaying that,
I want this --- http://test.com/Hr2/index.php
even I made many transactions in my site I want my url display always in
http://test.com/Hr2/index.php
#2

[eluser]adwin[/eluser]
use route address in the config/routes.php

it will enable you to set alias for each url .
#3

[eluser]Unknown[/eluser]
It did'nt work I finished already routing the address to route.php,but it did'nt work..
#4

[eluser]salbertson[/eluser]
This might help:

http://www.derekallard.com/blog/post/pas...e-igniter/
#5

[eluser]TheFuzzy0ne[/eluser]
And this: http://ellislab.com/forums/viewthread/109429/

EDIT: As far as I know, a forward slash is a part of the base64 alphabet, but this hasn't been taken into account by Derek. I'd imagine that this forward slashes will bust your URI.
#6

[eluser]salbertson[/eluser]
You will have to do a string replace for /. I replaced it with ~.

http://ellislab.com/forums/viewthread/47984/#551720




Theme © iAndrew 2016 - Forum software by © MyBB