Help, fsockopen() and binary data

From: Date: Tue, 26 Feb 2002 14:17:08 +0000
Subject: Help, fsockopen() and binary data
Groups: php.windows 
Request: Send a blank email to php-windows+get-12299@lists.php.net to get a copy of this message
To whom it may concern, I am seeking insight to problem that I am having with the fsockopen() function. I open the file pointer with the function without a problem. I am expecting binary information to come back. All of the binary information is being read when I know file size in advance. I want to code the php script in such a way that I do not need to know file size in advance. It hangs up when I try to read everything. I have tried fpassthru(), fread() and copied contents to a buffer with a block size, I have turned blocking off. Thanks in advance for any insight or advice, Lance

« previous php.windows (#12299) next »