Global array > previous page history

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Monopoly
Forum Commoner
Posts: 41
Joined: Wed May 21, 2008 1:19 pm

Global array > previous page history

Post by Monopoly »

Hello,
Is there a global variable that contains the link that lead to visiting the actual .php file?

For example , I came from blablabla.php to blablabla1.php ; what global variable I can use in the blablabla1.php to get to blablabla.php ?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Global array > previous page history

Post by Eran »

Code: Select all

 
$_SERVER['HTTP_REFERER']
 
Monopoly
Forum Commoner
Posts: 41
Joined: Wed May 21, 2008 1:19 pm

Re: Global array > previous page history

Post by Monopoly »

thanks !


:drunk:
Post Reply