Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    4

    Unhappy making a cpanel 3rd party add-on problem

    Hi.
    I wish to make a cpanel addon. For now, the php code is executed, but I want to call cpanel "api" like this inside php file:
    $x="<cpanel Park="countaddons()">";
    print($x);
    Instead of getting the result, I get inside $x the "<cpanel Park=.. .." text.
    Please tell me how can I call cpanel functions from php and why in this case it doesnt return the result.
    Thank you very much.

    Paul

  2. #2
    cPanel Verified Vendor This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Aug 2001
    Location
    All over Europe
    Posts
    407

    Default

    You need to call your php script through the cpanel ports (2ß82, 2083) in order for the tags to be parsed.

    kosmo
    http://netenberg.com/
    AccountLab Plus Affordable professional webhosting billing
    Click Be! Building websites as easy as it click be
    Fantastico De Luxe - Install your favourite scripts at a mouse click
    Universina - The CPanel skin with Heart and Soul

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    4

    Default

    Thanks.
    There is an example addon or some documentation (I searched but w/o success)?

    Paul

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    26

    Default

    Indeed, where can be read a documentation about this?
    Regards,
    Valics Lehel
    http://www.web-hosting-control-panel-addons.com/
    Add-ons for Web Hosting Control Panels for your Dedicated Server(s)

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    12

    Default

    Quote Originally Posted by paulgfx
    Thanks.
    There is an example addon or some documentation (I searched but w/o success)?

    Paul
    http://cpanel.net/remoteaccess-php.html

  6. #6
    Registered User
    Join Date
    Mar 2006
    Posts
    2

    Lightbulb php API

    hi firnds,

    i am sure some of you can help me in a similar case, i need to create sub domain redirections by my PHP script, please suggest

Similar Threads & Tags
Similar threads

  1. 3rd party vendor may be attempting to masquerade as cPanel
    By mmarulanda in forum cPanel Developers
    Replies: 4
    Last Post: 03-22-2010, 01:31 PM
  2. 3rd party vendor may be attempting to masquerade as cPanel
    By mmarulanda in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-11-2010, 10:03 PM
  3. Integrate CPanel with 3rd Party DNS Management
    By dalekurt in forum New User Questions
    Replies: 0
    Last Post: 01-28-2008, 08:47 AM
  4. How do I add links to a 3rd party theme?
    By digitard in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-25-2005, 08:47 PM
  5. Login Via Cpanel for 3rd party
    By scottelliott in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-07-2005, 06:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube