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.