d6c2a24e | <?php require_once('phaxio_config.php'); require_once('autoload.php'); $faxId = 1234; $outfile = "/tmp/out.pdf"; $phaxio = new Phaxio($apiKeys[$apiMode], $apiSecrets[$apiMode], $apiHost); file_put_contents($outfile, $phaxio->retriveFaxFile($faxId)->body); |