Can't able to convert file using the php sample

Using OLE Automation API
eson_2008
Posts:1
Joined:Fri Dec 12, 2008 3:58 am
Can't able to convert file using the php sample

Post by eson_2008 » Fri Dec 12, 2008 4:44 am

I download a php sample provided with the sdk from here.

then I copy the contents of the sample folder to the directory of localhost in my local PC.

PS: I use Window 2003 server + apache +mysql.


I find it only can upload file when run index.php at browser,
but can't convert the file which i uploaded to swf file.

it only show "File uploaded" after I click the button "Convert File".

hence, I check the floder "uploadedfiles", find there is the file which i uploaded just now.
and then, i check the floder "convertedfiles", there is nothing.


I open index.php file by UltraEdit and make a debug test. find the sentence" $p2f = new COM("P2F.Server2"); " creating a P2F object failed.

the value of $p2f in the sentence "if ($p2f)" is false.
where is wrong? how can I do for creating the P2F object successfully?

How can i use the php sample provided with the sdk to convert file normally ?

Please provide me some help to solve this problem.

thank you very much.

Post Reply