This function doesn't exist on lighttpd, so I wrote this little function to emulate it:<?phpif (!function_exists('apache_response_headers')) { function apache_response_headers () { $arh = array(); $headers = headers_list(); foreach ($headers as $header) { $header = explode(":", $header); $arh[array_shift($header)] = trim(implode(":", $header)); } return $arh; }}?>