You need a PHP (that's the funky code) enabled host. I've scourged the internet for some free ones, and while it says that they enable PHP coding on their advertisments, when you actually sign up you realize that the hosting site is just so RETARDED that either they don't really allow PHP, or you'll never, ever, ever actually figure out how to use it.
Trust me, I've spent a long time signing up for probably a couple dozen free web hosts, and I could never do it. Some were so screwed up that I couldn't even upload pictures, or at least figure out how. Makes me angry =p