blob: 1e4238bd3ad82ff682784594939005dabad7dc3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
#
# $Id$
# $Source$
#
# PHP script to call on the python CGI script.
#
# This is only an example, where a site has PHP enabled but not CGI.
#
$p = $_GET["p"];
$python = "/DLlocal/blais/httpd-soft/bin/python";
$env =
"CONVERTER=\"$python ".
"/DLlocal/blais/httpd-soft/bin/html.py\" ".
"NO_CONTENT_TYPE=1 ".
"SCRIPT_NAME=$SCRIPT_NAME ";
system("$env $python rst-server.cgi \"p=$p\" 2>&1 ");
?>
|