No input file specificed w/ PHP+Python
Posted by: dvd
Posted on: 2007-05-21 10:19:00
Hi,
I have a Python function that calls a PHP script using commands.getoutput(). (I'm using the PHP script because it comes from Authorize.net and I don't have time to reprogram it in Python.) I have compiled my own php5 because the script needs mhash. It seems to work fine either just calling the PHP script from the CLI or calling it with getoutput() in the Python interface. All it does is output some html. However, when I use it in my web app, the only output I get is "No input file specified". And I get incomplete header errors in my logs. Can anyone point me in the right direction or at least give me some debugging hints? Thanks!