Re: Trying to retrieve/confirm referrer URL in a PHP page/script

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

 



Ok, will check out REQUEST_URI as well, but, after setting up a remote page to then go to the local page, I figured out that this one seems to retrieve it as well:
$_SERVER["HTTP_REFERER"]

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

----- Original Message ----- From: "Lester Caine" <lester@xxxxxxxxxxx>
To: "php-windows" <php-windows@xxxxxxxxxxxxx>
Sent: Wednesday, February 22, 2012 9:52 AM
Subject: Re: Trying to retrieve/confirm referrer URL in a PHP page/script


Jacob Kruger wrote:
As subject line says, it would be nice, sometimes, specifically in terms of form submission processing to maybe confirm the referring URL/server, and I have used similar things in past with classic ASP etc., but can't remember that exact syntax, but think it had something to do with something like a HTTP response referer header or something.

Either way, I know there are collections of values like $_REQUEST, $_SERVER, etc., but not sure where to try find something like this, or if it's simply/easily possible/doable?

http://php.net/manual/en/reserved.variables.server.php
'REQUEST_URI'

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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



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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux