note 94595 added to function.fsockopen
| From: | koala3d at hotmail dot com | Date: | Fri, 13 Nov 2009 12:02:47 +0000 |
| Subject: | note 94595 added to function.fsockopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162861@lists.php.net to get a copy of this message | ||
Commenting on FaTe's note, I use this for HTTP content:
list($header, $data) = explode("\r\n\r\n", $data, 2);
This should work most of the time, if not at all times, as long as the web server being queried is
fully HTTP compliant.
----
Server IP: 190.2.55.64
Probable Submitter: 190.113.141.123
----
Manual Page -- http://www.php.net/manual/en/function.fsockopen.php
Edit -- https://master.php.net/note/edit/94595
Del: integrated -- https://master.php.net/note/delete/94595/integrated
Del: useless -- https://master.php.net/note/delete/94595/useless
Del: bad code -- https://master.php.net/note/delete/94595/bad+code
Del: spam -- https://master.php.net/note/delete/94595/spam
Del: non-english -- https://master.php.net/note/delete/94595/non-english
Del: in docs -- https://master.php.net/note/delete/94595/in+docs
Del: other reasons-- https://master.php.net/note/delete/94595
Reject -- https://master.php.net/note/reject/94595
Search -- https://master.php.net/manage/user-notes.php