RE: [PHP] Socket Server problem
| From: | Jay Blanchard | Date: | Thu, 15 Apr 2004 19:17:00 +0000 |
| Subject: | RE: [PHP] Socket Server problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183552@lists.php.net to get a copy of this message | ||
[snip]
PHP Notice: Undefined variable: client in /Users/rene/Sites/test/s9.php on line 30
Here's my code:
[/snip]
I tried counting the lines, but could not determine which one was line 30. Is this it...
if ($client[$i]['sock'] != null) $read[$i+1] = $client[$i]['sock'];
If so $client is not defined. $clients is.
// Array will hold client info
$clients = Array();