Hello, I'm newbie, and need some basics :) ..
I wanna call PHP from Python, for example :
After I run the python script, it will run the PHP code automatically from a site(site.com/test.php) (clicking on the button on the PHP page automatically )..
EXAMPLE 2 :
And After I will run the python script ( python script.py :P ) it will automatically write on those boxes something that I wannt, and then it will click on button!
Thank you :)
Added some more informations! Hope u will be able to help me!
Hmm this is an interesting question. If you have access to the backend of this form there is a far easier way to solve this problem I'm sure.
However, if you can't you want to look up how to essentially do http calls from python and you'll need to know a lot about that form. I'd look into urllib the python library.
To learn more about it go to your Unix command line and type 'python'. Once you have a prompt type 'import urllib' and 'dir(urllib)' or 'help(urllib)'. You can call these two functions on any of the levels down too. I.e. 'dir(urllib.somemethod)'
|All times are GMT +1. The time now is 05:47 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.