From:             [EMAIL PROTECTED]
Operating system: sparc-sun-solaris2.6
PHP version:      4.0.4pl1
PHP Bug Type:     Reproduceable crash
Bug description:  $HTTP_USER_AGENT 'breaks' in a URL-included file

$HTTP_USER_AGENT reports an unexpected value when inlcuded via a URL-reference:


<?php echo $HTTP_USER_AGENT; ?>

<?php include ""; ?>
-- displays (example):
  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) displays:

I can understand why this happens: when including a URL-referenced file, PHP obviously 
acts as the HOST that makes the request. However, is there a workaround for this?

- Bobby.

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to