#34058 [Com]: get_headers() retrieve a particular respons

From: Date: Thu, 11 Aug 2005 01:56:38 +0000
Subject: #34058 [Com]: get_headers() retrieve a particular respons
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-83349@lists.php.net to get a copy of this message
ID: 34058 Comment by: arnar at 8 dot is Reported By: bjori@php.net Status: Open Bug Type: Feature/Change Request PHP Version: 5CVS-2005-08-10 (dev) New Comment: Patch has been submitted to php.internals http://news.php.net/php.internals/17815 Arnar Mar Sig Previous Comments: ------------------------------------------------------------------------ [2005-08-10 02:42:22] bjori@php.net Description: ------------ Any change we can make get_headers() to act like parse_url(), i.e. retrive a particular respons (see: http://news.php.net/php.cvs/33239)? Reproduce code: --------------- <?php $last_modified = get_headers("http://example.com", 1, "Last-Modified"); echo $last_modified; ?> Expected result: ---------------- Wed, 08 Jan 2003 23:11:55 GMT ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34058&edit=1

« previous php.bugs (#83349) next »