In Codeigniter, there are library and helper.
I can access controller and its sub function.
for eample.
login/getid
Is there any way to access library or helper through url?
Update :
I made a captcha library in login controller.
I want to use it in many other controller’s view.
in view file, the captcha code should be like this,
<img src="/login/get_captcha" />
everytime I want to use captcha, I have to call login controller.
So, I thought that there should be better way to do this.
If library or helper can access through url, I can make this to helper.
can access another controller’s view without loading login’s controller.
You can create a wrapper controller to access those functions exclusively and use your routes to utilize said URL’s
Example:
yoursite.com/helper/geo/citiesNearZip/90210