The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

embeded php within pops.html

Discussion in 'General Discussion' started by kingdommedia, Apr 5, 2007.

  1. kingdommedia

    kingdommedia Member

    Joined:
    Mar 1, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I am currently modifing the monsoon theme and trying to put a more finished look on mail account page.

    I found several threads describing cpanel tags, but I wanted to go further and add some php to the /usr/local/cpanel/base/frontend/monsoon/mail/pops.html page.

    The purpose is to breakup the <cpanel Email="listpops()"> email list into an array and then cycle through the array and provide a cleaner tabular look with custom options

    I have already added AddType application/x-httpd-php .html in the httpd.conf so html files will parse php code, but when adding php to the pops.html it displays it to the screen, even though client html pages within their home directory work fine.:confused:

    Is there something I forgot to do or is there something else I should modify first?

    snippit
    <td class="mailLabel">Delete</td></tr>
    <?php echo phpinfo(); ?>
    <cpanel Email="listpops()">
     
Loading...

Share This Page