Welcome Guest, Not a member yet? Register   Sign In
How to get current url inc query strings??
#1

[eluser]umbongo[/eluser]
How can i get the address of the currently viewed page including query strings??? (current_url() ignores the querystrings.)
#2

[eluser]mi6crazyheart[/eluser]
About CI i don't know how to do it but Mr. Google show me a link which i think will be help for u...
Link: http://www.webcheatsheet.com/PHP/get_cur...ge_url.php
#3

[eluser]John_Betong[/eluser]
Take a look here:
http://ellislab.com/codeigniter/user-gui...s/uri.html

Code:
echo $this->uri->uri_string();

  // and

  echo $this->uri->ruri_string();

 
 
 
#4

[eluser]umbongo[/eluser]
[quote author="John_Betong" date="1292855591"]Take a look here:
http://ellislab.com/codeigniter/user-gui...s/uri.html

Code:
echo $this->uri->uri_string();

  // and

  echo $this->uri->ruri_string();
[/quote]Nope, this doesn't work. It also ignores all querystrings.
#5

[eluser]John_Betong[/eluser]
Have you tried loading the Profiler?



http://ellislab.com/codeigniter/user-gui...iling.html


 
 
 




Theme © iAndrew 2016 - Forum software by © MyBB