No input file specificed w/ PHP+Python

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!

Re: No input file specificed w/ PHP+Python

Posted by: Raz2133
Posted on: 2007-05-22 00:17:00

In reply to:

"No input file specified"


I know absolutely nothing about Python, but the above PHP error usually indicates that the PHP file in question can not be found. Are you certain that you have the correct path to the file?

Mark

Tags: authorize netphp scriptinput filefile specifiedphp5right directionclidebugging