#3866 [Com]: stripheaders

From: Date: Mon, 18 Aug 2003 04:08:24 +0000
Subject: #3866 [Com]: stripheaders
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46084@lists.php.net to get a copy of this message
ID: 3866 Comment by: a at b dot c dot de Reported By: evan@php.net Status: Closed Bug Type: Feature/Change Request Operating System: RH 6 PHP Version: 4.0 Latest CVS (18/03/2000) New Comment: Besides, the division between "headers" and "content" is fundamentally dependent on what protocol is being used over the socket (and that includes whether or not there are "headers" or "content"). I really don't see an entire function being created to parse every single possible transport protocol.... Previous Comments: ------------------------------------------------------------------------ [2000-08-17 10:46:17] hholzgra@php.net as you only have to read up to the first empty line to find the bonudary between headers and content a special function should not be needed ------------------------------------------------------------------------ [2000-08-06 17:38:11] sli@php.net Reopened request ------------------------------------------------------------------------ [2000-08-06 17:37:25] sli@php.net Headers != HTML Tags ------------------------------------------------------------------------ [2000-08-06 16:38:01] sniper@php.net See: http://www.php.net/manual/function.fgetss.php --Jani ------------------------------------------------------------------------ [2000-03-18 20:14:58] evan@php.net A stripheaders() function would be handy for taking the headers out of a string when you open a socket using fsockopen() and then read in the data with fgets(). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3866&edit=1

« previous php.bugs (#46084) next »