Can't get PHP SDK sample working
Posted: Wed Jan 23, 2008 1:10 pm
I've followed the instructions in the readme and configured the print2flash service. When I run the example and upload a file I hear a "ding" (as if an error window popped up, but there isn't one). Then after 30 seconds it seems the script times out and I get onyl this on the page
Convert Document to Flash
File uploaded
Converting C:\Documents and Settings\....\print2flashsdk\Automation\Samples\PHP\uploadedfiles\\test.doc => C:\Documents and Settings\....\print2flashsdk\Automation\Samples\PHP\convertedfiles\\test.swf
I inserted the ..., the file path looked correct to me
For the record, I got the same "ding" and script timeout when I tried to run
echo exec('p2fserver.exe test.doc test.swf');
From a php script. Is this a security issue I need to resolve? I tried the "Troubleshooting" suggestion of running dcomcnfg, but no luck.
test.doc shows up in my uplaodedfiles folder, but there isn't anything in convertedfiles
Convert Document to Flash
File uploaded
Converting C:\Documents and Settings\....\print2flashsdk\Automation\Samples\PHP\uploadedfiles\\test.doc => C:\Documents and Settings\....\print2flashsdk\Automation\Samples\PHP\convertedfiles\\test.swf
I inserted the ..., the file path looked correct to me
For the record, I got the same "ding" and script timeout when I tried to run
echo exec('p2fserver.exe test.doc test.swf');
From a php script. Is this a security issue I need to resolve? I tried the "Troubleshooting" suggestion of running dcomcnfg, but no luck.
test.doc shows up in my uplaodedfiles folder, but there isn't anything in convertedfiles