CodeIgniter + encodeURIComponent

z0mg

New Member
I'm trying to retrieve a url sent in the query strings in a codeigniter function:\[code\] function recipe($url = ''){ $url = $this->uri->uri_string(); $url = ltrim($url, '/bookmarklet/recipe/'); log_message('info', 'URL: ' . rawurldecode($url));\[/code\]However for some reason the url is always missing a '/' in the http protocol, what i get from the log is something like this:\[code\]INFO - 2010-07-02 12:12:51 --> URL: http:/www.google.com.eg/\[/code\]
 
Top