peke scrip ini aja bos, dulu saya pernah buat digital document convert file pdf ke swf...
$file = "data/$nama_file";
$extswf = ".swf";
$swfname = $newname.$extswf;
$com1 = " -o";
$folder = " swf/";
$com2 = " -f -T -9 -G -q";
$convertswf = $file.$com1.$folder.$swfname.$com2;
system ( "/usr/local/bin/pdf2swf " .$convertswf );
sedikit penjelasan
$newname adalah nama file hasil enkripsi md5. kalo mau pake namafile enkripsi ini scribnya...
$fileName =$_FILES;
$str = 'abcdefghijklmnopqrstuvwxyz123456789';
$shuffled = str_shuffle($str);
$data_1 = substr($shuffled , -5);
$data_2 = substr($shuffled , 0,5);
$newname = md5($data_1.$data_2);
$ext = ".pdf";
saya pake os linux, kalo pake win sesuaikan aja patch pdf2swfnya (system ( "/usr/local/bin/pdf2swf " .$convertswf ); ...)