CodeIgniter Forums
current_url() cannot display and session is not running - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: current_url() cannot display and session is not running (/showthread.php?tid=40838)



current_url() cannot display and session is not running - El Forum - 04-20-2011

[eluser]Nur Cholikul Anwar[/eluser]
Dear all,

I was migrating my application from Apache web server to nginx web server.

But are there a problem, there is:

cannot display current_url() function.

if i echo that only display that:

Code:
echo current_url();

Quote:http://152.118.191.5/index.php

Exactly my address is: http://152.118.191.5/index.php/user/login

and this one more problem: the session cannot running

thanks for your help


*Sorry for My English Language