#21860 [Opn->Bgs]: $_SERVER['HTTP_REFERER']
| From: | iliaa@php.net | Date: | Fri, 24 Jan 2003 16:18:50 +0000 |
| Subject: | #21860 [Opn->Bgs]: $_SERVER['HTTP_REFERER'] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31150@lists.php.net to get a copy of this message | ||
ID: 21860
Updated by: iliaa@php.net
Reported By: renato@ostorero.it
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: Windows 2000 Server
PHP Version: 4.3.0
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-01-24 06:07:32] renato@ostorero.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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21860&edit=1