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!

<cpanel Addons="listaddons()"> BUG

Discussion in 'General Discussion' started by danielaugustus, Oct 24, 2003.

  1. danielaugustus

    danielaugustus Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    156
    Well, this function doesent worl together with PHP.
    When you put it into PHP code it starts giving erros. One exemple code would be :

    <?php
    $code_block="<cpanel Addons="listaddons()">";
    ?>

    This is a very simple example... but it's just for illustration... How can I get off this problem ? Because this cPanel part isnt translatable, so I'm using PHP code to translate it.
     
  2. N9ne

    N9ne Well-Known Member

    Joined:
    Jan 7, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    England
    What actual php code are you using? That example you gave would definitely not work, you haven't escaped the quotation marks in the string.
     

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