On Tue, 2008-07-22 at 23:27 -0400, Daniel Brown wrote:
> Try this to see if your script is outputting any errors:
>
> <?php
> exec('/path/to/python your-script.py 2>&1',$ret);
> print_r($ret);
> ?>
This worked, was opening a file for which permission was denied. Python
didn't show me anything, when run on the prompt, however when I used the
above method, I did get the error. Thanks!
-anuj
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]