It is a follow-up a question to my earlier post.
I have developed a chat program using twisted
in Python. I would like to integrate into a PHP script and be able to run through the browser.
The chat program would open a HTML window.
I could run it using PHP5
command in the terminal and is working fine. However, when I call the PHP script through the browser it does not work.
Any idea what is missing.
EDIT : I am not getting any error on the browser, however, the python script is not running ,
Here is my PHP code :
$unique_no = 1234;
$unique_name = "Kiran";
$command = '/usr/bin/python /var/www/php_program/chat.py ' . $unique_no . ' ' . $unique_name ;
shell_exec($command);
Thanks Kiran