[PHP] Problem with a socket in non-blockant state

2001-08-15 Thread Cerel
Ok here is the story : I got a php script that comunicates with a game server (Half-life). This script uses socket_set_timeout. But the build of php i downloaded doesn't support socket_set_timeout(). So i started to modify the script to do without. Here is the prob : the script use the socket as b

[PHP] Re: Object members dynamic access?

2001-08-15 Thread Cerel
Try this : class foo { var $var1="hello"; var $var2="world"; } ... ... $fooinstance = new foo; $vartest=$fooinstance->var1; echo ($vartest); // should be 'hello' This should work, but i had no time to test this code. See you later Sean C. McCarthy <[EMAIL PROTECTED]> a écrit dans le messag