You need to save your files with a .PHP extension to tell the server that they need to be run through the PHP interpreter.
(Or talk to your server admin about having your server run all HTML files through the interpreter as well, but that's typically unnecessary since if you just adjust the file extension it should work fine.)
Yeah, you'd need the .php file extension as nifkin said. In the past year I've actually started giving all my pages a php extension just to be on the safe side as it's become pretty common to necessitate adding little inline php functions as the client requests them later on in the project.
yea 10x for the infos, the company that i am making some stuff wants all their files named .html (stupid idea if u ask me, of not). but 10x anyway, off i go to call their IT guy... again :D
mod-rewrite won't actually invoke the processor. the type and handler need to be set for apache to recognize and initiate the proper handler(s) for the given document.