I'm looking for a programmer to create a function that behaves as http_chunked_decode, I need this alternative because it not be available in every server installation.
You should know how the HTTP protocol works, its headers and stuff. This is to decode low level HTTP requests made by the fsockopen function. (I'm not using cURL, and I won't be using it).
There are a number of functions on the internet, but they don't work fine. See the attached files.
Also, keep in mind that the samples are simple text files, so there're break lines (\n - 10: ASCII and Unicode), and not carriage returns (\r\n - 13: ASCII and Unicode). The function must work with both kinds.
I'd do it myself, but I'm busy with other things. Just need a quick solution.
No agencies please. Just looking for a PHP programmer.