i have a really simple script that calls an exisitng pdf
in core file:
function showPdf( $printable_name, $DATA = 0 ) {
if( !is_array($DATA) ) { $DATA = array( 'DATA'=>$DATA ); }
require( printablePATH.$this->printable_sub_directory.$printable_name.printableEXTN );
}
in the config file:
define( 'printableEXTN', '.pdf' );
these work and find the file fine - but try to read the file - I just want to launch it
how do i define that it is a pdf and not a php pdf?
--gbt