Bug #18183 Updated: [RFE] Configurable "User-Agent" in php_fopen_url_wrap_http()

From: Date: Fri, 05 Jul 2002 13:19:39 +0000
Subject: Bug #18183 Updated: [RFE] Configurable "User-Agent" in php_fopen_url_wrap_http()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13220@lists.php.net to get a copy of this message
ID: 18183 Updated by: derick@php.net Reported By: jos_php.net@interexa.de Status: Open -Bug Type: Filesystem function related +Bug Type: Feature/Change Request Operating System: all PHP Version: 4.1.2 New Comment: Recategorize Previous Comments: ------------------------------------------------------------------------ [2002-07-05 08:59:54] jos_php.net@interexa.de It would be helpful if the "User-Agent"-String in fopen('http://...') calls would be configurable. The file affected is ext/standard/http_fopen_wrapper.c, line 180. Maybe we could define a global variable which is set to "PHP/PHP_VERSION" by default, but can be overwritten. Or an optional parameter to the fopen() function. But would be also useful in include() calls... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18183&edit=1

« previous php.bugs (#13220) next »