PHP 4.0 Bug #7393: HTTP-Referer is not via in curl_setopt()

From: Date: Sun, 22 Oct 2000 18:38:47 +0000
Subject: PHP 4.0 Bug #7393: HTTP-Referer is not via in curl_setopt()
Groups: php.dev 
Request: Send a blank email to php-dev+get-35804@lists.php.net to get a copy of this message
From: messju@internet-factory.de Operating system: any PHP version: 4.0.3pl1 PHP Bug Type: HTTP related Bug description: HTTP-Referer is not via in curl_setopt() <?php $c=curl_init(); curl_setopt($c,CURLOPT_URL,"http://lammfellpuschen.de:42000/dumprequest.php"); curl_setopt($c,CURLOPT_USERAGENT,"some ua"); curl_setopt($c,CURLOPT_REFERER,"some reference"); curl_exec($c); ?> should give a line like headers[Referer] = "some reference" but does not. Solution: add the case "case CURLOPT_REFERER:" in php-4.0.3pl1/ext/curl/curl.c around line 336. -- Edit Bug report at: http://bugs.php.net/?id=7393&edit=1

« previous php.dev (#35804) next »