Update ft2.php

Should fix #16,#17,#19