Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Forum Search
#1

[eluser]yannyannyann[/eluser]
Hi

I like the way the system of the search results url in the codeigniter forum ?
I mean this hashed code...
Example:
Code:
ellislab.com/forums/search_results/c43913a8226971adff18ac9da2b835ae/P20/

Any idea how this is done ?
And also why do we need hashed code ?

Would it be a security matter to leave the keywords displayed like :
Code:
ellislab.com/forums/search_results/my+key+words/P20/


Thanks in advance !!!!
#2

[eluser]Rob Gordijn[/eluser]
my guess is that all your searchoptions are stored into a searchtable en the hash is used to unclutter the search-uri.
your example only included 3 keywords, imagine more keyword, multiple selected forums, usergroups, etc etc.
and also, the Pxx segment need to be on a fixed location (sort of, you can work around it)




Theme © iAndrew 2016 - Forum software by © MyBB