As the Homepage of WordPress Plugin EzStatic seems to be down for a while, I provide this usefull peace of code as download: ezstatic-php.txt. Just rename this file to „ezstatic.php“, drop it into your WordPress plugins directory, and then activate it on the Plugins tab of the WordPress admin console.
If you are a user of high enough level and you check the new option checkbox that appears below the post editing area, then posts that contain PHP tags will be executed in the posts that you write.
Also, you can include existing files into your WordPress template:
Add a querystring to your URL that points to your static file – like this:
EzStatic will try to open in order from your blog directory:
If the static file specified is PHP, it will execute the file and display the results. This file may contain WordPress template tags and functions.