PHP in Suspend Page
Hello guys,
I have a problem with the suspending page. I want add the suspension reason so i have created this:
[PHP]
;
$reason = @file_get_contents("http://MyWebSite.me/suspension/raisonsuspension.php?domaine=".urlencode($TheDomain));
?>
Reason of suspension:
[/PHP] When I add this on the suspension page, we do not see the reason and the PHP code is like comentated: .vB What can i do ? I really want this. Regards-
There's no indication that cPanel is executing this template as PHP. In fact, the documentation shows this which indicates they are using Perl's Template Toolkit: [QUOTE] You may use the following tags on this page: [% data.protocol %] = https or http (useful for linking to images and objects outside of img-sys)
You should try using JavaScript to fetch the account suspension reason instead of PHP.0 -
Hello :) You may also want to add your input to the existing feature request for more variable choices with the web template editor: [url=http://features.cpanel.net/responses/template-editor-more-variable-choices]template editor more variable choices | cPanel Feature Requests Thank you. 0
Please sign in to leave a comment.
Comments
2 comments