Find Jobs
Hire Freelancers

Convert Python Script to PHP

$2-20 USD / hour

Cancelled
Posted over 9 years ago

$2-20 USD / hour

We need a developer to convert the attached Python script into PHP. Please demonstrate your thorough understanding of the script by sending me a private message with a description of what the script does. Please be as specific as possible. Lastly, please provide your estimate (in hours) to complete the conversion. The project will be awarded to the freelancer who a) demonstrates the greatest understanding of the script and b) has the most competitive cost (calculated by estimated hours x $/hr).
Project ID: 6433038

About the project

5 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $14 USD/hour for this job
User Avatar
Let's discuss over freelancer Personal Message Box for the proper estimation of cost and time. I am myself doing programming so you will directly work with one person and that's me. No mediators. No managers. No subcontractors. see my recent work for the technical expertise along with reviews & feedback on my profile page.
$20 USD in 30 days
5.0 (173 reviews)
9.3
9.3
User Avatar
I can port the code to PHP as I am also proficient in python and have worked with PHP scripts extensively
$21 USD in 3 days
4.9 (165 reviews)
7.5
7.5
User Avatar
This program is a service which: Starts a listening socket waiting for connections. When a client arrives reads it's request. If it is a register (GET) request starts the function responsible for handling registrations If it is a 'ASBSVC' request it parses 4 words from the request (1st line) and searches through the phones to find if it matches any of them, and updates the random code if it was different. If not found in phones a new phone is created and stored using these values If neither then searches to find a registered service provider (through phones). I can't analyze this more right now
$4 USD in 15 days
5.0 (2 reviews)
2.5
2.5
User Avatar
This script starts up a server (listening process) on port 8080, and waits for incoming. When a request is received, it tries to make a connection (open a socket for communication), and spawns a thread to handle it. The "handling" thread grabs the first 4096 bytes and decodes it (assuming it is encoded as "UTF-8" data. It then goes to one of 3 main handling methods based on the beginning of the decoded content: (1) "GET /register_" -- handleRegistrationRequest - If the request is valid, it either replies that the username is already used, or registers a new user. (2) "ASBSVC" -- handleProxiedProvider - If the request is valid, it pools the connection. (3) Otherwise, handleProxiedConsumer - If the request is in valid format, it looks further into the request for data, tries to forward the request to the service provider, and waits for a response from the service provider. I'm guessing this is used as part of a switching system to route/handle requests from IP Phones or similar? May I ask why you want it converted to PHP? One major issue you're going to run into is that Python has native support for threads, while PHP does not. There is a threading library available for PHP (pthreads), which I am familiar with, but if this is a high volume application/server (appears that it might be?), my thought is that a threaded PHP version wouldn't be nearly as stable. However, I'm confident I could get it converted for you in less than 10 hours.
$12 USD in 20 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$12 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Denver, United States
5.0
35
Payment method verified
Member since Dec 22, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.