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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Thu Dec 26 13:01:30 2024 UTC