Codeigniter put protocol in url query [duplicate]
Possible Duplicate:
How do you pass a URL into a CodeIgniter controller?
How to make this works
http://example.com/route/http://redirecturl.com
in codeigniter
I 开发者_运维知识库want create route that handling url, like http://who.is/whois/http://google.com
If you're linking to another controller in your project, use site_url('path/to/your/controller')
. You can also use the anchor function, to create external links.
Make sure you load the URL Helper before using the above functions, and all should go fine.
精彩评论