PHP script on a phpbb html template file?

Discussion in 'HTML & Website Design' started by SonHouse, Sep 26, 2011.

  1. #1
    I have an interesting problem.

    I'm using phpbb forum software and there is a file called viewtopic_body.html that I want to place a php script to rotate some text link ads under the post. I can't really rename the viewtopic_body.html file to a .php file because it's called throughout the software so changing that filename would probably not work.

    Any help would be greatly appreciated.
     
    SonHouse, Sep 26, 2011 IP
  2. technoamarie1

    technoamarie1 Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just put

    <?php

    then insert your code here

    ?>

    just like that in you html file so that you will not rename it, you can ran php code by using that
     
    technoamarie1, Sep 28, 2011 IP