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
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
2 matches
Mail list logo