note 10306 added to fputs
| From: | caocao at eastday dot com | Date: | Wed, 27 Dec 2000 01:28:47 +0000 |
| Subject: | note 10306 added to fputs | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9100@lists.php.net to get a copy of this message | ||
But how to change a string into binary type and write with fputs()?
When I fread() a binary file and fputs() the binary steam into a new file,there won't be any
problem.But when I only fputs() a string into a file,all I've got is a txt file.
I don't know why,please help me.
http://www.php.net/manual/function.fputs.php