开发者

Codeigniter put protocol in url query [duplicate]

开发者 https://www.devze.com 2023-03-31 09:25 出处:网络
This question already has an answer here: Closed 11 years ago. Possible Duplicate: How do you pass a URL into a CodeIgniter controller?
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

精彩评论

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

关注公众号