Re: Simple Referrer

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

 



Diana,

Diana Cassady said:
> Hi. This seems like it should be simple. I've had no problem doing this
> in other languages, but can find no reference to this function in the
> PHP manual.
>
> How can I get PHP to return the referring URL?
>
> Thanks.
>
> Diana
> diana@vivaladata.com                 "Will Work for Chocolate"
> http://www.vivaladata.com           (and its worth every byte!)
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

$_SERVER('HTTP_REFERER')

[from the php-online documentaion]
The address of the page (if any) which referred the user agent to the
current page. This is set by the user agent. Not all user agents will set
this, and some provide the ability to modify HTTP_REFERER as a feature. In
short, it cannot really be trusted.
[/end]

Is that what you are looking for?!

http://de3.php.net/reserved.variables

You have to check on your PHP-Version if it supports this type of global
variables.



-- 

Once a problem is defined - it is half way solved. (Henry Ford)

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux