I've also tried a few other bits of code ive found on the new and when i browse to them it seems to display the code in the browser.
this is what happens, when Server does not support PHP.
so you have to read install and server setup documentation on how to enable PHP
I you search web, you will find many articles on
setting windows 2003 with iis6.0 up for PHP.
I also think such instruction can be included in your PHP distribution.
Heva you noticed we have this forum:
Install
Conversation regarding installation and upgrade of PHP
That is the place for you to search and post!