Monday 03 May 2004 7:07:42 am - 1 reply
STEVO +
Thursday 06 May 2004 5:24:19 am
something like this:
ob_clean(); header( 'X-Powered-By: eZ publish' ); header( 'Content-Length: '. filesize( $cacheFile ) ); header( 'Content-Type: application/pdf' ); header( 'Content-Transfer-Encoding: binary' ); header( 'Accept-Ranges: bytes' ); ob_end_clean(); $fp = @fopen( $cacheFile, 'r' ); @fpassthru( $fp ); include_once( 'lib/ezutils/classes/ezexecution.php' ); eZExecution::cleanExit();
from http://pubsvn.ez.no/nextgen/trunk/kernel/content/pdf.php
You must be logged in to post messages in this topic!