I was actually never turned away. They let me in the previous time I entered bkk but asked me for a return ticket and warned me that I should apply for visa the next time I enter.
the thing that frustrates me is that the immigration agents at bkk told me to apply dtv or tourist visa but the Manila embassy guys told me to try visa exempt.