Welcome Guest, Not a member yet? Register   Sign In
Retrive detail info with URL hyphen
#1

[eluser]Unknown[/eluser]
Hi, I am trying to search this topic on Google this morning and found no help on how to retrieve detail information with URL hyphen. My problem is that I am able to produce a dashed-URL for an item. However, I don't know how to make my controller recognize and query the right item from the database. For example, let's say I have a link

<a href="http://example.com/what-is-code-igniter/" title="What is Code Igniter?">

How to make a controller recognize the pattern and return the right item? How to query an item with the URL in hyphen like that?

Any helps would be greatly appreciated.

Thanks
#2

[eluser]Celso Soares[/eluser]
I have a similiar problem.
I think that you must change the permitted_uri_chars in config.php

$config['permitted_uri_chars'] = 'a-z 0-9~%.:=\+_-';

I allow the "-", but i still have the same error:
"Disallowed Key Characters."




Theme © iAndrew 2016 - Forum software by © MyBB