Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: php python

  1. #1
    Senior Coder o0O0o.o0O0o's Avatar
    Join Date
    Jan 2008
    Location
    C:\Windows\System32
    Posts
    1,018
    Thanks
    19
    Thanked 9 Times in 9 Posts

    php python

    HI ,

    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

  • #2
    Banned
    Join Date
    Apr 2007
    Posts
    428
    Thanks
    29
    Thanked 5 Times in 5 Posts
    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

  • #3
    Regular Coder
    Join Date
    Dec 2007
    Location
    Nebraska
    Posts
    113
    Thanks
    0
    Thanked 2 Times in 2 Posts
    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.
    Deliver yesterday, code today, think tomorrow.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •