Date: 10/31/00
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] multiple charsets status for PHP"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7377 Updated: failure during compilation of gdttf.c in directory ext/gd"
- In reply to: Ian Redden: "[PHP-DEV] RE: PHP 4.0 Bug #3601 Updated: fgets is NOT binary safe."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
IR>> You cannot use fread or fwrite and yes I know they are binary safe.
Why you cannot?
IR>> http://php4bug.directoryinfo.net/udp.php I changed the example
IR>> to use fread and fwrite and you'll see it just hangs. :(
Well, I'm unable to get there neither yesterday nor today. Can you post
short code example on the list? It works for me all right.
Anyway, fgets is *NOT* supposed to be binary safe, and it can not - just
think about it a bit. How can function that requires certain characters as
it's data stream delimiters be binary-safe?
-- Stanislav Malyshev, Zend Products Engineer stas <email protected> http://www.zend.com/ +972-3-6139665 ext.106-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] multiple charsets status for PHP"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7377 Updated: failure during compilation of gdttf.c in directory ext/gd"
- In reply to: Ian Redden: "[PHP-DEV] RE: PHP 4.0 Bug #3601 Updated: fgets is NOT binary safe."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

