Re: [php] read/write error

From: Date: Wed, 10 Jun 2009 14:51:35 +0000
Subject: Re: [php] read/write error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-293874@lists.php.net to get a copy of this message
2009/6/8 HELP! <izoduwa@gmail.com> > opening of the sorket is ok and writting LOGIN packet to the sorket is also > ok but reading the response to know if the login is accepted or rejected is > a not OK. Don't use fread() to read from sockets, use stream_get_contents(). Example 3 on the fread() manual page tells you why. -robin

« previous php.general (#293874) next »