If possible, keep coding as simple as possible so I can actually understand it (I slightly understand PHP; haven't studied it in depth yet) and keep it legal for x10 (i.e. Please no shell scripts at all).

If you wish to keep the code unknown to the world, you can share it directly to contact@jackberry.tk. If you are comfortable sharing it, just post it in the forums (probably help other people wanting CGI-Scripts out there as well; there isn't a lot of them that seem to work for me).