php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21860 $_SERVER['HTTP_REFERER']
Submitted: 2003-01-24 06:07 UTC Modified: 2003-01-24 10:18 UTC
From: renato at ostorero dot it Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.3.0 OS: Windows 2000 Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: renato at ostorero dot it
New email:
PHP Version: OS:

 

 [2003-01-24 06:07 UTC] renato at ostorero dot it
I try different way to read the referer :

<?php
echo foo();

function foo() {
  return $_SERVER['HTTP_REFERER'];
}
?>

<?php
$ref = getenv( "HTTP_REFERER" );
echo $ref;
?>

<?php
echo $HTTP_REFERER;
?>

but in any case I never had a result.

I try with php configured as CGI and as ISAPI.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-24 10:18 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

A browser may choose not to send the referrer variable, infact in some browsers you can specifically specify that the browser should not send this variable.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 20:01:31 2024 UTC