hi
I have a problem with this source code
#fi, fo = os.popen2('c:/python24/python.exe C:/AppServ/webserver/www/index.pyw')
#fi, fo = os.popen2('c:/Perl/bin/perl.exe C:/AppServ/webserver/www/wwwp.pl')
fi, fo = os.popen2('c:/appserv/php/php.exe C:/AppServ/webserver/www/wphp.php')
data = self.rfile.read(nbytes)
fi.write(data)
fi.close()
shutil.copyfileobj(fo, self.wfile)
sts = fo.close()
when I try with python or perl it works but with php not.
first it is
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
and when I edit php.ini with
cgi.force_redirect = 1
and then it is.....
No input file specified.
but in python make more errors when I make this with php
please help me
10x