Welcome Guest, Not a member yet? Register   Sign In
Routes and hashed URLs
#7

Yea, that's not hashing ... don't call it that way, terms mean stuff. And you don't really need all of those function calls. base_convert() can handle extremely large numbers, just call it once on the entire string of "slots" and it will be even more efficient - 64 instead of the 66 chars shown in your post.

Anyway, that .htaccess file just redirects $uri to index.php/$uri, which is fine, but framework-level routing is a different thing.

@jreklund's suggestion should get you what you want.
Reply


Messages In This Thread
Routes and hashed URLs - by wirikidor - 11-21-2017, 05:11 PM
RE: Routes and hashed URLs - by InsiteFX - 11-22-2017, 04:32 AM
RE: Routes and hashed URLs - by wirikidor - 11-22-2017, 08:18 AM
RE: Routes and hashed URLs - by Narf - 11-22-2017, 09:23 AM
RE: Routes and hashed URLs - by wirikidor - 11-22-2017, 09:59 AM
RE: Routes and hashed URLs - by jreklund - 11-22-2017, 05:24 AM
RE: Routes and hashed URLs - by wirikidor - 11-23-2017, 04:02 PM
RE: Routes and hashed URLs - by Narf - 11-22-2017, 11:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB