Please assit to translate the following code from python to php
Click Here
Thank you

Paste a piece of code which is unclear to you and we can clarify it's meaning in pseudocode. Do not post externally, but include as normal attachment or preferably just code block. The files in your rar file seemed to be OK, except wrong file types and one of the files had only double instead of triple quotes for docstring at beginning of the file.

I think the code is from this project: http://code.google.com/p/mtn-ussd-api-python/source/browse/#svn%2Ftrunk%2FpyUSSD%2Fsrc .

Thank you for the reply.The code is correct but the problem is l dont know python so l need help for the code to be translated into php

Good point to start understanding Python would be to go through the tutorial at python.org. If you know other programming language well, it should be then be possible for you to recode the main part of the program in PHP. Any points that you find difficult to catch, we can help you understand.

The other links are broken... try this online coverter for free.... Best of luck!

Python To PHP Online (Our Guide: Step By Step / Python to PHP Equivalents)

Version 1 – Server Side
https://properprogramming.com/tools/converters/free-online-php-to-python-3-converter/
Version 2 – JavaScript & Private
https://properprogramming.com/tools/converters/python-3-to-php-converter-version-2-online/
PHP to Python (Python to PHP Equivalents)

Version 1 – Server Side
https://properprogramming.com/tools/converters/free-online-php-to-python-3-converter/
Version 2 – JavaScript & Private
https://properprogramming.com/tools/converters/online-php-to-python-3-converter-version-2/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.