Hello, thanks everyone for the help, I got it working. Just for future references I uploaded a very simple version to pastebin: http://pastebin.com/SjVCkKAW
It is by no means perfect and is just designed to illustrate how to receive POST data the way I understand it. Feedback is welcome :) Regards, Matej
