u need ur PHP good_template etc. to be executed by the server
if u use TEMPLATEDIR in FormMail it just reads the files and sends them to the browser
so, to get them to be exceuted first before formmail sends them to the browser, set TEMPLATEURL instead (u must clear out the TEMPLATEDIR value otherwise TEMPLATEURL is ignored)
Bookmarks