Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

embeded php within pops.html

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

  1. kingdommedia

    kingdommedia Member

    Mar 1, 2007
    Likes Received:
    Trophy Points:
    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?

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice