PHP / PYTHON script to get contacts list from web service.

In Progress

I have a service installed on the web server. I am unable to get PHP to connect with sockets so i am trying to interact with the service via Python and exec the python script in PHP and read the output.

the php page for testing is simple.

<?php

$user = "icmc(AT)[url removed, login to view]";

$pass = "password";

$command = "[url removed, login to view] $user $pass";

exec($command, $output);

print_r($output);

?>

i am passing the user and password variables to the python script.

I have a python script written a while ago by a colleague which i don't understand, but have managed to request the data i am after ok.

But i do encounter problems, im not sure the python script is reliable and i think it is over complicated for what i need as it try to cater for a lot of operations i do not need and handle responses etc. All i need is the contacts list reliably for the user PHP passes it.

If i run the php page and get the contacts list back into PHP, then change the username and password in the PHP script and re-run. The correct user details are passed to the python script but the script is returning the previous users contact list and not the new one.

I also find that it leaves zombie process and i have to go kill them manually.

I think this will be an easy job for an experienced python developer, to simplify and 'finish off' the script i will attach.

Skills: PHP, Python

See more: php contacts, what job to get, web service developer, web server script, web developer python, web developer contacts, unable to find a job, python find, php script for web developer, php developer service, php developer find, php developer contacts, password problems, list get python, i need to find a developer web, go web server, get in written, get a job as a web developer, find python, find one page developer, find job php developer, find a job web developer, easy php developer, do a service, colleague

Project ID: #1477903

Awarded to:

jerobarraco

Hi, for the details you've posted, i think i could finish your task quite fast. I have more than 5 years of experience in big applications using python, and i also have experience with php, so i could easily port your More

£20 GBP in 1 day
(1 Review)
1.1

14 freelancers are bidding on average £81 for this job

SigmaVisual

We can help in your project, please check PMB and our ratings/reviews to get idea of our experience.

£200 GBP in 7 days
(248 Reviews)
7.9
srinichal

I can deliver the script in python

£120 GBP in 5 days
(108 Reviews)
7.2
wildlily980

I can do this.

£110 GBP in 2 days
(47 Reviews)
6.3
marchent

I think i can fix you'r zombie. If you are interested, attach the source code at pmb.

£100 GBP in 5 days
(162 Reviews)
6.2
phpXpertbd

I specialize in similar projects. Please check PM for more details.

£110 GBP in 5 days
(19 Reviews)
5.6
Blender3D

I've worked with both Python and PHP, but I develop primarily in Python. I've done tons of network programming so this job is not anything new to me. Check your PMB.

£60 GBP in 1 day
(20 Reviews)
5.4
scinova

Hi. It is a bit overkill to mix another language just for connecting to an external service, not to mention the security issues. Nevertheless, it can be done, in Python or in PHP. Please contact me for more details. Th More

£50 GBP in 1 day
(6 Reviews)
4.9
RhynoProgramming

I am an experienced Python coder that uses sockets frequently in work. I can do this project easily and will return results quickly.

£65 GBP in 3 days
(8 Reviews)
4.7
kommandant

check your pm

£50 GBP in 0 days
(23 Reviews)
4.6
jonincanada

Greetings. I do this stuff for fun! I work with python, django and the google appengine. I can get this working for you in a number of ways. Typically you would execute python in the browser. Some javascript would More

£95 GBP in 2 days
(1 Review)
3.7
sureshvv

Please see my review

£100 GBP in 3 days
(2 Reviews)
2.9
hugo53

Python is my favourite programming language. I'm interested in your job. I want to help you complete this job. Please check PM for details. Thanks!

£40 GBP in 2 days
(1 Review)
0.0
racecoder

I'm interested to do your job. Just send your specifications details with files.I think You job will be finished in time.

£20 GBP in 1 day
(0 Reviews)
0.0