The following code doesn't seem to work:
The above code only displays the text as it is. I also tried calling the python file from a PHP file via:Code:#!/usr/bin/env python # -*- coding: UTF-8 -*- import sys; print(sys.version);
That also to no avail. It just returned "Warning: exec() has been disabled for security reasons in /home/shedo/public_html/python.php on line 5".Code:<?php echo exec('python python.py'); ?>
But this page http://x10hosting.com/wiki/Plan_Comparison says that I have Python. As well as CGI, Perl, and ASP.net. Can anyone help me out?


LinkBack URL
About LinkBacks

