[prev in list] [next in list] [prev in thread] [next in thread]
List: php-windows
Subject: Re: [PHP-WIN] Get referer with PHP
From: "Bradley Stahl" <bradley.stahl () gmail ! com>
Date: 2007-06-12 14:02:37
Message-ID: 49389cf40706120702o6eaf1ebci3e73694cb87611a9 () mail ! gmail ! com
[Download RAW message or body]
No problem. Thanks.
On 6/12/07, Stut <stuttle@gmail.com> 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 requiring
> that this header is set, so I'm not really sure where I can point you.
>
> -Stut
>
> > On 6/12/07, * Stut* <stuttle@gmail.com <mailto:stuttle@gmail.com>>
> wrote:
> >
> > 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 not supply this header.
> >
> > -Stut
> >
> > > On 6/12/07, Luis Moreira (ESI-GSQP) <luis.moreira@esi.pt
> > <mailto:luis.moreira@esi.pt>> wrote:
> > >>
> > >> 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.
> > >>
> > >> Can this be done ?
> > >>
> > >> Thanks
> > >> Luis
> > >>
> > >> --
> > >> PHP Windows Mailing List (http://www.php.net/)
> > >> To unsubscribe, visit: http://www.php.net/unsub.php
> > >>
> > >>
> > >
> >
> >
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic