2011-07-22 04:30:52 +00:00
|
|
|
<?php
|
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
/// getID3() by James Heinrich <info@getid3.org> //
|
|
|
|
// available at http://getid3.sourceforge.net //
|
|
|
|
// or http://www.getid3.org //
|
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
// See readme.txt for more details //
|
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
// //
|
|
|
|
// module.misc.pdf.php //
|
|
|
|
// module for analyzing PDF files //
|
|
|
|
// dependencies: NONE //
|
|
|
|
// ///
|
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
2012-04-02 21:33:18 +00:00
|
|
|
class getid3_pdf extends getid3_handler
|
2011-07-22 04:30:52 +00:00
|
|
|
{
|
|
|
|
|
2012-04-02 21:33:18 +00:00
|
|
|
function Analyze() {
|
|
|
|
$info = &$this->getid3->info;
|
2011-07-22 04:30:52 +00:00
|
|
|
|
2012-04-02 21:33:18 +00:00
|
|
|
$info['fileformat'] = 'pdf';
|
2011-07-22 04:30:52 +00:00
|
|
|
|
2012-04-02 21:33:18 +00:00
|
|
|
$info['error'][] = 'PDF parsing not enabled in this version of getID3() ['.$this->getid3->version().']';
|
2011-07-22 04:30:52 +00:00
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|