FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » $referrer = $_SERVER['HTTP_REFERER'] echo
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: $referrer = $_SERVER['HTTP_REFERER'] echo [message #181968 is a reply to message #181954] Fri, 28 June 2013 18:07 Go to previous messageGo to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
On 2013-06-27 5:52 PM, Jerry Stuckle wrote:
> On 6/27/2013 5:23 PM, Twayne wrote:
>> I have what's probably a simple and very basic question.
>>
>> My goal is to see where a visitor sending a form-email with mail() on
>> win 7 and XAMPP - PHP 5.3.5, came from. e.g. did he come here from the
>> right page or just barge into this page as his landing page?
>> My php.ini seems to be OK and I've not changed any other config
>> files. All other "If's" work OK and I'm now baffled.

....

>
> Like anything else sent by the client, you can't trust
> $_SERVER['HTTP_REFERER']. It may or may not exist, and if it does, it
> may or may not contain the actual referrer page.

Perhaps you can expand on that? Referrer does exist, and it's sent to me
by my server. If it doesn't indicate MY previous form page, then I know
the visito and it reflects ONLY my own files to be accepted, or hasn't
used the website link to access that particular page, or has tried some
sort of direct access, Back Button, etc.; and I destroy the session and
stop the script.

TIA for enlightening me.

Twayne`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to change old ereg?
Next Topic: page "hit" counter
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Jan 15 20:03:21 GMT 2025

Total time taken to generate the page: 0.05271 seconds