I'm looking to execute PHP in the branding/index.html file - namely in the stats area. I've scoured the forums and have come across a couple of suggestions / references to how cPanel handles PHP execution within themes.
http://forums.cpanel.net/f42/cp-incl...ile-96049.html
http://forums.cpanel.net/f42/adding-...ipt-76243.html
What I've tried ..
I've renamed branding/index.html to the following:
index.php
index.phpcp
index.cpphp
I've tried to both include PHP directly in that template, and include an external file (using the test.phpcp / test.phpcp symlinks provided in the base of the template directory). Unfortunately it still isn't executing the PHP and only spitting out the source.
Am I doing something wrong?



LinkBack URL
About LinkBacks
Reply With Quote
.




