#30019 [NEW]: $_SERVER['HTTP_REFERER']; doesn't always display
| From: | asfsm at uaa dot alaska dot edu | Date: | Tue, 07 Sep 2004 22:27:35 +0000 |
| Subject: | #30019 [NEW]: $_SERVER['HTTP_REFERER']; doesn't always display | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-65894@lists.php.net to get a copy of this message | ||
From: asfsm at uaa dot alaska dot edu
Operating system: Windows 2003 (standard)
PHP version: 5.0.1
PHP Bug Type: *General Issues
Bug description: $_SERVER['HTTP_REFERER']; doesn't always display
Description:
------------
$_SERVER['HTTP_REFERER']; doesn't always display
It displays occassionally, but not all the time.
Reproduce code:
---------------
<?php
$send_ip = $_SERVER['REMOTE_ADDR'];
$send_agent = $_SERVER['HTTP_USER_AGENT'];
$send_refer = $_SERVER['HTTP_REFERER'];
?>
<table border="0">
<tr>
<td><?php echo $send_ip; ?></td>
</tr>
<tr>
<td><?php echo $send_agent; ?></td>
</tr>
<tr>
<td><?php echo $send_refer; ?></td>
</tr>
</table>
Expected result:
----------------
<browser's_IP address>
<referring page>
<browser type>
Actual result:
--------------
<browser's_IP address>
<browser type>
--
Edit bug report at http://bugs.php.net/?id=30019&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30019&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30019&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30019&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30019&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30019&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30019&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30019&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30019&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30019&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30019&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30019&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30019&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30019&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30019&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30019&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30019&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30019&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30019&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30019&r=mysqlcfg