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

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: current_url() cannot display and session is not running (/thread-40838.html)



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