0
Is it possible to integrate python app with a php app?
I'm building a website using PHP and JavaScript as the base language. I want to build of the site which will be able to craw Google with search string "dollar to pounds exchange rate" and return the actual rate from the search result. This can be achieved with python but I don't know if it is possible to integrate a python code with a website built with php. If it is possible please how can I achieve this or can it be done with Ajax call? Thanks.
4 Respuestas
+ 4
Sure... A very simple way to do it s use this function http://php.net/manual/en/function.file-get-contents.php
0
I think than using PHP directly is better
0
But does PHP have the power to crawl through a website I mean getting the source html code as string. So that I can easily manipulate and get the values I want?
0
Ok thanks much