Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Execute perl in template file

by nomad.dexter (Novice)
on Jan 11, 2019 at 06:23 UTC ( [id://1228367]=note: print w/replies, xml ) Need Help??


in reply to Re: Execute perl in template file
in thread Execute perl in template file

Where can i find the place to put it in a WHM theme

Replies are listed 'Best First'.
Re^3: Execute perl in template file
by 1nickt (Canon) on Jan 11, 2019 at 06:28 UTC

    I would imagine that most shared hosting providers disable it intentionally since they cannot control the Perl code users would insert. You may have to upgrade to a dedicated server and learn how to run your own web server.


    The way forward always starts with a minimal test.
Re^3: Execute perl in template file
by dsheroh (Monsignor) on Jan 11, 2019 at 08:22 UTC
    I'm not familiar with WHM, but that change needs to be made within the Perl code which runs the site, not the templates. It can't be enabled from the templates unless they're able to run Perl code, and the templates can't run Perl code unless it's already enabled.
        Shows error that Filter.IDN plugin not found

        Well, install it.

        Alexander

        --
        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      Is there a way to convert punycode to unicode in template toolkit?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1228367]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found