Currently I'm trying to write simple online judge. I'm having troubles in manipulating processes, detecting TLE, MLE, ... Maybe you can help me in some way, maybe by providing link to some open source online judge, or answering me here.
Thanks in advance.
EDIT : I mistyped the title Wri**n**ting Online Judge in PHP. I can't believe that I didn't notice :)