Re: [PHP-DB] how to get the referrer page details

2006-06-16 Thread 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: [PHP-DB] how to get the referrer page details

2006-06-16 Thread 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:[EMAIL PROTECTED]
 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



Re: [PHP-DB] how to get the referrer page details

2006-06-15 Thread 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: [PHP-DB] how to get the referrer page details

2006-06-15 Thread Chris

[EMAIL PROTECTED] 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