Re[2]: [PHP] Fsockopen and fgets problem. I'm lost need help
| From: | Latex Master | Date: | Thu, 08 Aug 2002 11:59:10 +0000 |
| Subject: | Re[2]: [PHP] Fsockopen and fgets problem. I'm lost need help | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111632@lists.php.net to get a copy of this message | ||
Hello Matt,
Tried it also. and get the same
Thursday, August 8, 2002, 3:52:10 PM, you wrote:
>>From: "Latex Master" <freeman@submission.org.ru>
>>Sent: Thursday, August 08, 2002 7:39 AM
>>Subject: [PHP] Fsockopen and fgets problem. I'm lost need help
>> while (fgets($ns, 100000) !== "."){
M> Perhaps this needs to be:
M> while (fgets($ns, 100000) != "."){
M> fgets returns a string, and you're comparing identical with a single char.
--
Best regards,
Latex mailto:freeman@submission.org.ru