note 18564 added to function.iptcembed
| From: | rupix at rediffmail dot com | Date: | Mon, 28 Jan 2002 09:24:46 +0000 |
| Subject: | note 18564 added to function.iptcembed | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25892@lists.php.net to get a copy of this message | ||
Windows makes a distinction between 'text' and 'binary' files. So if you run the
above code on a windows platform, it will produce a garbled image. To overcome this problem put the
file mode in fopen() as 'wb' instead of 'w'.
Cheerio !!
Rupinder
--
http://www.php.net/manual/en/function.iptcembed.php
http://master.php.net/manage/user-notes.php?action=edit+18564
http://master.php.net/manage/user-notes.php?action=delete+18564
http://master.php.net/manage/user-notes.php?action=reject+18564