Welcome Guest, Not a member yet? Register   Sign In
Return To Existing URL From Another Controller
#2

(This post was last modified: 02-28-2015, 05:11 AM by InsiteFX.)

You can create a variable to hold it and also display from the code below.

PHP Code:
if (isset($_SERVER['HTTP_REFERER']))
{
$a $_SERVER['HTTP_REFERER'];
echo 
"Your previous page URL is " $a;
}
else
{
echo 
"You must navigate from index.php page";

What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Return To Existing URL From Another Controller - by InsiteFX - 02-28-2015, 05:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB