<?php $TPLN->DirectIOWrite("my_template.html"); // is the same as $TPLN->Open("my_template.html"); $TPLN->Write(); ?>