Skip to main content

Reading the whmapi1 Output in PHP

Comments

4 comments

  • gnusys
    The output is yaml . You will be able to use PHP yaml to read it
    0
  • Vs Nu
    The output is yaml . You will be able to use PHP yaml to read it
    0
  • WasChristine
    Hello, While we understand that this request is in regards to the cPanel Software, we must note that providing assistance with writing PHP code is not the cPanel Forums intended use. Other users of this forum may be able to share that you could do, but your best option may be to reference a forum such as
    0
  • cPRex Jurassic Moderator
    @Vs Nu - are you just looking for a check to see if the call completed properly or not? If so, the "result: 1" section of the output is what would indicate success, so if you base your PHP code around that response, that would be the ideal way to measure success.
    0

Please sign in to leave a comment.