ID: 10141 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Old-Bug Type: Reproduceable crash Bug Type: Feature/Change Request Assigned To: Comments: maybee there should be a way to define the USER_AGENT for HTTP fopen wrapper? moved to feature requests Previous Comments: --------------------------------------------------------------------------- [2001-04-03 12:30:38] [EMAIL PROTECTED] $HTTP_USER_AGENT reports an unexpected value when inlcuded via a URL-reference: e.g. test1.php -- <?php echo $HTTP_USER_AGENT; ?> -- test2.php -- <?php include "http://servername.com/test1.php"; ?> -- http://servername.com/test1.php displays (example): Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) http://servername.com/test2.php displays: PHP/4.0.4pl1 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10141&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]