Re: question about tracking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$_SERVER['HTTP_REFERER']

will track the previous page.

please note, that if you use this, it is open to Cross-site Scripting 
injection, so it should be evaluated/scaned for good params, as in

$page = $_SERVER['HTTP_REFERER'];

if($page == 'aboutus.asp')
{ //do this }
else
{ echo "bad request"; }


Sudhakar wrote:

> 
> please provide the code by which i will be able to track the source
> of the previous page.

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux