...through your php interpreter just as you would pass php files. Using Apache, open your httpd.conf file and add this line:
Action text/html "<location of php>"
All this does is cause Apache to send all html documents through the php interpreter. This takes a little longer but the delay is minimal.