On 1 Aug 2007, at 10:31, Stefan wrote:

how do I change it permanently so it appears as say a php or Java file? 

Welcome! This letter explains how to change the default language for new untitled documents: 

http://lists.macromates.com/pipermail/textmate/2006-February/008276.html