Hello,

I try to use pdf2swf in a PHP script on a Windows system.

I can start pdf2swf.
But there seams to be some problems with the input- and output-paths.

I use the verbose option. But pdf2swf does not output any message.

this is my script:

 for($i = 1; $i < ($seitenzahl + 1); $i++)
 {
        $pdfFilePath = $input_path1 . $pdfname;
        $swfFilePath = $output_path1 . $swfname . $i . ".swf";
$toolsoptions = " -vvv -g -f -T 8 -j " . $quality . "-p " . $i . " " . $pdfFilePath . " -o " . $swfFilePath;
        $config = $toolspath . "pdf2swf" . $toolsanhang . ' ' . $toolsoptions;
        $swfc_meldung = system($config);
 }


My Question is:
What is the corrct path to the PDF ($pdfname)?
And what is the correct output path ($swfFilePath)?

Must they be relativ to the php script?
Or must they be absolut on windows basis (C:kjkjh\nkhkhkh\...)?

Benedikt


Reply via email to