I have a PHP script (news-generator.php) which, when I include it, grabs a bunch of news items and prints them. Right now, I\'m using Python for my website (CGI). When I was usi
PHP is a program. You can run any program with subprocess.
The hard part is simulating the whole CGI environment that PHP expects.