RE: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Luis Moreira (ESI-GSQP)
Junho de 2007 14:26 To: Bradley Stahl Cc: Luis Moreira (ESI-GSQP); php-windows@lists.php.net Subject: Re: [PHP-WIN] Get referer with PHP Bradley Stahl wrote: > Try using the "$_SERVER['HTTP_REFERER']" server variable to get the URL of > the page that referred the current

Re: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Bradley Stahl
No problem. Thanks. On 6/12/07, Stut <[EMAIL PROTECTED]> wrote: Bradley Stahl wrote: > I did not know that. Do you have any documentation on this? I would > really like to read more about this issue. Thanks for the heads up. There is no documentation on this beyond the HTTP spec not requiri

Re: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Stut
Bradley Stahl wrote: I did not know that. Do you have any documentation on this? I would really like to read more about this issue. Thanks for the heads up. There is no documentation on this beyond the HTTP spec not requiring that this header is set, so I'm not really sure where I can point

Re: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Bradley Stahl
Stut, I did not know that. Do you have any documentation on this? I would really like to read more about this issue. Thanks for the heads up. -Brad On 6/12/07, Stut <[EMAIL PROTECTED]> wrote: Bradley Stahl wrote: > Try using the "$_SERVER['HTTP_REFERER']" server variable to get the URL of >

Re: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Stut
Bradley Stahl wrote: Try using the "$_SERVER['HTTP_REFERER']" server variable to get the URL of the page that referred the current user to your page. Let me know if this helps. Note that this cannot be relied upon. A fair number of proxies and even some browsers have the option to remove or n

RE: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Gustav Wiberg
TED] Sent: Tuesday, June 12, 2007 3:07 PM To: Luis Moreira (ESI-GSQP) Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Get referer with PHP Luis, Try using the "$_SERVER['HTTP_REFERER']" server variable to get the URL of the page that referred the current user to your page. Let

Re: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Bradley Stahl
Luis, Try using the "$_SERVER['HTTP_REFERER']" server variable to get the URL of the page that referred the current user to your page. Let me know if this helps. --Brad On 6/12/07, Luis Moreira (ESI-GSQP) <[EMAIL PROTECTED]> wrote: Hi This is possibly way too simple, but let me ask

[PHP-WIN] Get referer with PHP

2007-06-12 Thread Luis Moreira (ESI-GSQP)
Hi This is possibly way too simple, but let me ask just the same : I want to add some code (may be PHP) on an HTML page, to check the referrer. It has to be web-server independent. If the page is invoked by URL X, ok, if not, the page should not be shown.