note 20141 rejected from function.socket-read by alindeman
| From: | alindeman@php.net | Date: | Sun, 24 Mar 2002 01:05:28 +0000 |
| Subject: | note 20141 rejected from function.socket-read by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28137@lists.php.net to get a copy of this message | ||
This function seems to return a resource for me. When I use...
$string = socket_read($socket,$bytes);
echo "$string";
... $string turns out to be something like "Resource id #123456". I'm using PHP
version 4.1.1. If you know why this is, you might drop me a line and save me some fustration.