开发者

Codeigniter put protocol in url query [duplicate]

This question already has an answer here: Closed 11 years ago.

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜