I need someone who knows about swftools/ pdf2swf integration, i have a windows server, with swftools installed, SWFTools is a command line program that should run from php.
My goal is to have this script convert a multiple page pdf into swf files (1 per page), then output the swf file names it created.
this script isnt working:
<?php
#code for pdf to swf using pdf2swf software
#this codeworks in windows environment.
## Important Parameters
$software_path ="pdf2swf" ;
$pdf_path ="C:\\Inetpub\\vhosts\\[login to view URL]\\httpdocs\\admin_pdf_files\\[login to view URL]" ;
$argument = "-%";
$swf_output ="C:\\Inetpub\\vhosts\\[login to view URL]\\httpdocs\\FLIPBOOKS\\[login to view URL]" ;
$cmd ="$software_path $pdf_path $argument $swf_output";
$result = system($cmd);
//echo var_dump($result)." ".mktime();
echo $result;
# 0 for command prompt invisible mode
# 3 for visible
?>