Viewing function calls yes.. see debug_backtrace(). You could also use xdebug or related extension to create log files on each script execution. Personally, I would use xdebug.
Query logging would have to be built-in to your app or enabled on your database server.
Logging form submissions would also need to built in to your app, or you could check the Apache log for a *...


![[PHP5] Mail function problem](/images/thp_r1581.gif)
