In Progress

Python script + php + mysql + json-rpc

I have a mysql database.

In this database are several fields (columns).

It is automatically updated (new rows) when people fill in a form on our website. It has a couple of blank fields.

I would like for:

1. a php script which allows information to be passed in the url, like this:

[login to view URL]

the php script will then

1. check the database to look for that email address

2. If the email address does not exist then return some error.

3. If it does exist, then check if the id field is blank/null

4. if it is blank/null then update the id to whatever is in the url. and return a verified message.

5. if it is not blank/null then return error that it has already been claimed (or verified).

Python script:

This will continuously check the database (i can setup a cron for once every minute or 2) for all records that do not have a specific value in one of the columns. for example sent=null

so like this when script is run:

1. lookup all records which have sent=null (or not yes/1) and have id is not null

2. execute json-rpc call to our server with a command based on information in the records it found.

e.g. create account bob send 100 credits sdfjsdfdslfsdlfsdlf

the account is in the record and the id is in the record.

3. Check what is returned:

4. if successful a long string of letters and numbers will be returned. Update the record with this string, and update sent=1

5. if an error returns that is = this account already exist, then append a "x" to the account name and repeat for that record, until it is accepted. Then update the record with the string and update sent=1 and also update "givenname" field to the name that was used, example bobxx

6. If any other error returns then end the script.

all actions need to be properly synchronised/atomic.

Skills: Python, PHP, MySQL, JSON

See more: invoice system cms script php mysql, create secure sign login script php mysql, secure login script php mysql pear, forgot password script php mysql, adult website script php mysql, flash image rotator script php mysql, sudoku script php mysql, php mysql json respnse jquery forms, script php show online players count server warcraft, blogging script php mysql, build lead generating script php mysql, create login script php mysql ajax, categories subcategories script php mysql, user profile script php mysql, script php mysql rating, free poker script php mysql flash, ovguide comment script php mysql, script php mysql client server

About the Employer:
( 32 reviews ) Preston, United Kingdom

Project ID: #20761064

Awarded to:

xiqian88

Hello. I know you are cool client. I hope work with you. Best regards. ..................................

£250 GBP in 7 days
(46 Reviews)
7.2

42 freelancers are bidding on average £143 for this job

rajdeepa555

Hello Sir, I am an experience web api developer. I checked your requirements, I understand that we need to create a get api which contains all the information needed, then we need to perform multiple checks over this More

£150 GBP in 2 days
(84 Reviews)
7.0
techwelfare

Hello, After analysing your requirements,we would like to inform you that our skills match your criteria . We are a fast- growing company, and have well- trained resources available to initiate your project immediately More

£160 GBP in 7 days
(169 Reviews)
7.1
grigorywazin

Dear man I read your project description very carefully and I hope to work in this project. While doing this project, we must do top skills to do this project… For doing that , you can face some issues like Yours. But More

£135 GBP in 7 days
(31 Reviews)
6.6
jacklin1990

Hallo, eine Owncloud wurde umgezogen. jedoch gibt es beim Import der DB einen fehler. Fehler #1071 - Schlüssel ist zu lang. Die maximale Schlüssellänge beträgt 767 daher läuft die cloud auch nicht richtig. Daten wurd More

£135 GBP in 7 days
(13 Reviews)
6.5
stead121

Dear Client. I am very interested in your project. After fully reviewed the job description, I understood what you want. Your project is the perfect match for my skills and experience. As you can see my profile, I ha More

£120 GBP in 7 days
(62 Reviews)
6.2
valor312

VERY EASY FOR ME As you can see in my review, I've done similar with yours Hello. I have read your description and I am so interested in your project. I am confident in your project and I can finish it clearly on time More

£135 GBP in 1 day
(91 Reviews)
6.2
naravila

Hi, Sir I've read your requirement carefully. I'm sure I can finish your task perfectly in a short time. As you can see my profile, I'm a senior Web developer. I've plenty of experiences and finished lots of projects b More

£200 GBP in 7 days
(42 Reviews)
6.3
Grisha97924

⭐⭐⭐⭐⭐ Hi, Dear I understood all what you need. I have rich experience and can complete this project. I am finding way to solve project main features. Please contact me and let us discuss more about project. Best regard More

£150 GBP in 2 days
(35 Reviews)
6.0
Bluesky122

How are you? I have read the project proposal carefully and I am sure I can complete this project perfectly. Can I access into database while working? What kind of server are you going to use php and python? I have mor More

£200 GBP in 3 days
(38 Reviews)
6.2
crtvecode

Hello, Why do you need the Cron Job to be in Python? you can also run the PHP script in Cron Job. I am experienced in both PHP and Python and I understood your requirment very well. Please check my LinkedIn recommend More

£199 GBP in 3 days
(85 Reviews)
6.5
marioada

Hello, Hope you're doing well, let me get right into it. Based on the URL you pasted, you want the script to receive GET Requests which we can easily implement by using $_GET in PHP. That being said, the verification More

£134 GBP in 3 days
(6 Reviews)
5.8
MrtDolphin

Hi. I can do it.

£250 GBP in 5 days
(18 Reviews)
6.0
chunzuo

how r u? I have read your requirement but I did not read it carefully. because I dont know you hire me. mastering requirement spec is not problem because I am developer who believe my skill and experience. sorry but I More

£135 GBP in 7 days
(5 Reviews)
5.6
coolmob0816

Dear client. I am a senior web developer and a serious bidder. I have rich experiences in web development with PHP, Python. I have read your requirement and I am confident that I can bring you the best result. Look More

£200 GBP in 15 days
(20 Reviews)
5.4
hassanmustafa01

Hi, I have read your project description and willing to do this for you in your required time spam with 100% Satisfaction. Kindly message me so we can discuss in detail over chat......

£150 GBP in 1 day
(47 Reviews)
5.3
akweb2015

Hello, I can build both php api and python code easily. Although I have some questions in python job, I think we can solve this by discussing in detail. Ready to start. Thank you.

£180 GBP in 7 days
(13 Reviews)
5.1
albertpopov46

Hi Dear I read your requirements carefully. I have rich experience with Python Django, Flask, selenium, Web Scrapy, software architecture and so on. You can see my good reviews for python projects. Please touch me. I w More

£135 GBP in 7 days
(28 Reviews)
5.1
whiteeagle0001

Hello, How are you? I just saw your project description carefully. I am very interested in your project. I have rich experience in your project. I can help you surely and complete in a short time. I can start your proj More

£135 GBP in 2 days
(13 Reviews)
4.8
vladzolotukhin

Hello sir. I read your requirement in care. It is no problem for me. As you can see in my profile, I am fully experienced and lots of skills about your project. Chat by pressing a button and discuss me about it, we'd More

£140 GBP in 7 days
(17 Reviews)
4.9
snowman718718

Hi. My name is Alexander. I have read your post very carefully and have understood what you really want. As a python & php developer, I have handful experience for years in projects like yours. I'm ready for your proje More

£135 GBP in 7 days
(14 Reviews)
4.9