note 17076 rejected from ref.sockets by zak
| From: | zak@php.net | Date: | Sat, 24 Nov 2001 21:12:08 +0000 |
| Subject: | note 17076 rejected from ref.sockets by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21252@lists.php.net to get a copy of this message | ||
I was trying to get information from a server via a socket.
The server returned the information but the last line did not end
with a crlf. Because of this, the return variable did not included
this last line (which I needed!!) Whatever I did, I just didn't get
that last line.. until I tried the example on http://www.php.net/manual/en/function.fsockopen.php
which did
the work right (and finally I got my last line)! I was using php 4.0.6