From: [EMAIL PROTECTED]
Operating system: Windows 2000 Server
PHP version: 4.3.0
PHP Bug Type: Variables related
Bug description: $_SERVER['HTTP_REFERER']
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 bug report at http://bugs.php.net/?id=21860&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21860&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21860&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21860&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21860&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21860&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21860&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21860&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21860&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21860&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21860&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21860&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21860&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21860&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21860&r=gnused