[PHP] Re: fsockopen() prob

2001-11-29 Thread Yura
Nop, doesn't work - the same result, supplied argument is not valid file handler... Youri > Global variables are not really global in php because they are not > available from within functions unless you specifically declare them > as global. This should work: > > 130 function get_line { >

[PHP] Re: fsockopen() prob

2001-11-28 Thread Fred
Global variables are not really global in php because they are not available from within functions unless you specifically declare them as global. This should work: 130 function get_line { 131 global $socket_open; 132 $buffer = fgets($socket_open,500); 133 $buffer = eregi_replace("(\r|\n