It is, but you need to upload it onto a web server that supports PHP.
Solutions:
- Install Apache, install PHP on top of it, and point your browser to 127.0.0.1.
Pros: + Cool, own mini-webserver

Cons: - Installing extra modules to Apache is hard..
- Find a free webhost that allows PHP and upload your file.
Pros: + Easy, online all the time.
Cons: - No freedom, and if they find out you've been sending spugillions of spams for WHATEVER reason, they'll kill your account. Also, I recommend you use a 'friend's' (i.e., mortal enemy's) computer when executing the spam script - just in case, y'know?
Avatar - white cat in a snowstorm. Look closely.