Page 1 of 1

what is the previous page

Posted: Sun May 10, 2009 5:18 am
by amao
hi all

I need to know if the previous belong to specific URL

ex: my URL is http://www.myURL.com

and the previous page is http://www.myurl.com/test

the current page is http://www.myurl.com/current

so all I need to Test the previose page belong to http://www.myurl.com

Re: what is the previous page

Posted: Sun May 10, 2009 6:20 am
by jazz090
use:

Code: Select all

$_SERVER['HTTP_REFERER']