PHP 4.0 Bug #6200 Updated: fputs doesn't send, do not fflush after fgets.
| From: | Bug Database | Date: | Thu, 17 Aug 2000 08:42:03 +0000 |
| Subject: | PHP 4.0 Bug #6200 Updated: fputs doesn't send, do not fflush after fgets. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29231@lists.php.net to get a copy of this message | ||
ID: 6200
User Update by: kh.wild@wicom.at
Status: Feedback
Bug Type: Misbehaving function
Description: fputs doesn't send, do not fflush after fgets.
I have to communicate with a perl daemon that gives me an hash when I connect
the port. After that I have to complete the data with this hash an send it in the
same connection back to the daemon.
What I have todo is a fgets for the first string and after sending the comleted data
with an fputs. The daemons never receive my data's after the fputs.
I tried the newest snap to use the fflush. But this didn't solve the problem.
Full Bug description available at: http://bugs.php.net/?id=6200