Use phpfns library
misc
More details for submit handler