# I need EZPDF help

**URL:** <https://forum.kirupa.com/t/i-need-ezpdf-help/294125>\
**Category:** programming\
**Created:** [August 9, 2009, 1:38am UTC](https://forum.kirupa.com/t/i-need-ezpdf-help/294125 "2009-08-09T01:38:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)\
**Post date:** [August 9, 2009, 1:38am UTC](https://forum.kirupa.com/t/i-need-ezpdf-help/294125/1 "2009-08-09T01:38:56Z")

</div>

I can’t figure out how to output a pdf rather than have it stream in the browser itself.

I found this piece of code on their site, but it’s not working for me:

$pdfcode = $pdf-\>ezOutput();  
$fp=fopen(’’,‘wb’);  
fwrite($fp,$pdfcode);  
fclose($fp);

Maybe someone experienced in this pdf creator class could help?
