zohab Posted March 23, 2011 Share Posted March 23, 2011 hi, I want to write pdf file but it is getting garbage value i check following url http://bugs.php.net/bug.php?id=21904&edit=1 $fp = fopen($fdirandname,'wb'); fwrite($fp,$pdfcode); fclose($fp); Link to comment https://forums.phpfreaks.com/topic/231490-fopen-to-write-binary-file-fopenfdirandnamewb/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.