you shoudnt say you are *VERY* experieced in php if you dont know how to do it. you need to simply redirect email to executable file (php as interpreter) using forwarders and read email from stdin in php.