Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
public static function read($file)
{
shell_exec("/usr/bin/pdftotext {$file} {$filetmp}.txt") ;
$output = file_get_contents("{$filetmp}.txt");
return $output ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.