01-02-2008, 02:27 AM
I want to know is it possible to use python inside php
and do i need something to set up on server to use python or
i can upload some files by myself via ftp and i can use both of them
01-02-2008, 12:52 PM
yes it is possible, and yes you need to setup few things to make it possible. use google "setup php python server" or something similar. there are few pretty good explanations on how to do it.
from my experience, it's just complicating things. so it's better to use either PHP or Python, but not both in the same time. but it's your choice
01-02-2008, 09:02 PM
There is an experimental Python/PHP extension, but you would have to install it and it isn't ready for production use. Otherwise, the only way for the two to communicate is through the command line, the same way you might communicate with a program written in Perl, Ruby, TCL or any other language.