[PHP] Socket Server problem

2004-04-15 Thread René Fournier
I'm working through Ori Staub's excellent Socket Server tutorial (http://www.zend.com/zend/tut/tutorial-staub3.php), but can't get the sample server working. I've read the user comments and fixed a couple things, but still, no dice. Here's the error I receive: [Valhalla:~/Sites/test] rene%

RE: [PHP] Socket Server problem

2004-04-15 Thread Jay Blanchard
[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