how to get the referrer page details
how to get the referrer page details
am 15.06.2006 15:46:58 von Manoj Singh
------=_Part_12279_23268554.1150379218537
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello all,
I am developing a site in which user comes from different site to my site.
Now i want to maintain that user comes from which site. I am using
$_SERVER['HTTP_REFERER'] for that. Now i came to know that this variable is
not supported by some servers or it can be set off in php.ini setting. So
can any one help me doing this without using $_SERVER['HTTP_REFERER'].
Please help me.
Regards
Manoj
--
Manoj Kumar Singh
Software Engineer
Kalptaru Infotech Ltd
Dawa Bazaar
Indore (MP)
452001
India
------=_Part_12279_23268554.1150379218537--
Re: how to get the referrer page details
am 15.06.2006 16:11:32 von apple45
Don't worry about it,most servers enable this function.
ÔÚ Thu, 15 Jun 2006 21:46:58 +0800£¬Manoj Singh
дµÀ:
> Hello all,
>
> I am developing a site in which user comes from different site to my
> site.
> Now i want to maintain that user comes from which site. I am using
> $_SERVER['HTTP_REFERER'] for that. Now i came to know that this variable
> is
> not supported by some servers or it can be set off in php.ini setting. So
> can any one help me doing this without using $_SERVER['HTTP_REFERER'].
>
> Please help me.
>
> Regards
> Manoj
>
--
ʹÓà Opera ¸ïÃüÐԵĵç×ÓÓʼþ¿Í»§³ÌÐò: http://www.opera.com/mail/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: how to get the referrer page details
am 15.06.2006 16:17:45 von dpgirago
> Hello all,
>
> I am developing a site in which user comes from different site to my
site.
> Now i want to maintain that user comes from which site. I am using
> $_SERVER['HTTP_REFERER'] for that. Now i came to know that this variable
is
> not supported by some servers or it can be set off in php.ini setting. So
> can any one help me doing this without using $_SERVER['HTTP_REFERER'].
>
> Please help me.
>
> Regards
> Manoj
I seem to recall that $_SERVER['HTTP_REFERER'] being returned as undefined
is a browser issue, not a server issue. And I couldn't find a directive for
this in php.ini.
Can anyone she some light on this?
David
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: how to get the referrer page details
am 16.06.2006 02:44:26 von Chris
dpgirago@mdanderson.org wrote:
>> Hello all,
>>
>> I am developing a site in which user comes from different site to my
> site.
>> Now i want to maintain that user comes from which site. I am using
>> $_SERVER['HTTP_REFERER'] for that. Now i came to know that this variable
> is
>> not supported by some servers or it can be set off in php.ini setting. So
>> can any one help me doing this without using $_SERVER['HTTP_REFERER'].
>>
>> Please help me.
>>
>> Regards
>> Manoj
>
> I seem to recall that $_SERVER['HTTP_REFERER'] being returned as undefined
> is a browser issue, not a server issue. And I couldn't find a directive for
> this in php.ini.
This will only be set if you are coming from a referrer. If you hit the
page directly, it won't be there at all.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: how to get the referrer page details
am 16.06.2006 20:47:51 von Oliver Block
Am Donnerstag, 15. Juni 2006 15:46 schrieb Manoj Singh:
> Now i came to know that this variable is
> not supported by some servers or it can be set off in php.ini setting. So
> can any one help me doing this without using $_SERVER['HTTP_REFERER'].
That how the things are. Sometimes others do not act like one likes to. You
should respect that some individuals do not want you to get that information.
I bet, that is not really a big thing, isn't it?
Best Regards,
Oliver
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: how to get the referrer page details
am 16.06.2006 21:49:59 von Dwight Altman
I use $_SERVER['REMOTE_ADDR'], but the notes at http://us2.php.net/getenv
say you may want to also use HTTP_X_FORWARDED_FOR (and not even getenv but
$_SERVER as you were attempting).
Regards,
Dwight
> -----Original Message-----
> From: Oliver Block [mailto:lists@block-online.eu]
> Sent: Friday, June 16, 2006 1:48 PM
> To: php-db@lists.php.net
> Subject: Re: [PHP-DB] how to get the referrer page details
>
> Am Donnerstag, 15. Juni 2006 15:46 schrieb Manoj Singh:
> > Now i came to know that this variable is
> > not supported by some servers or it can be set off in php.ini setting.
> So
> > can any one help me doing this without using $_SERVER['HTTP_REFERER'].
>
> That how the things are. Sometimes others do not act like one likes to.
> You
> should respect that some individuals do not want you to get that
> information.
> I bet, that is not really a big thing, isn't it?
>
> Best Regards,
>
> Oliver
>
> --
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php