ID:               3866
 Comment by:       a at b dot c dot de
 Reported By:      [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Reopened request

------------------------------------------------------------------------

[2000-08-06 17:37:25] [EMAIL PROTECTED]

Headers != HTML Tags

------------------------------------------------------------------------

[2000-08-06 16:38:01] [EMAIL PROTECTED]

See:

http://www.php.net/manual/function.fgetss.php

--Jani

------------------------------------------------------------------------

[2000-03-18 20:14:58] [EMAIL PROTECTED]

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

Reply via email to