Skip to main content

UAPI PHP Class

Comments

6 comments

  • N1ghteyes
    Just a note, i've added an example file for using the MySQL module added in 11.44. More examples to follow, but it should atleast provide an idea :)
    0
  • cPanelMichael
    Hello :) Thank you for taking the time to add these examples. Keep in mind that cPanel does not review/validate third-party code, so it's important for users to test this on their own.
    0
  • N1ghteyes
    Hi Michael, I completely get that :) the comment was more aimed at third party users / developers, incase they come accross any bugs or want something extra from it :), pretty much just posted up here as a hopefully useful resource. Of course, anyone from cP is more than welcome to use it as well if its needed :P and as always if anyone else wants different examples / finds a bug, let me know in here or on the issue queue on GitHub =)
    0
  • lvt
    That's a great script, thank you ! What is the best method to capture the returned message (if any) and display it ? For example, after I added a POP account, the message could be "You POP account has been added", or "Error, can't not add POP account right now" if the script failed. Or simply any message returned by the system. Thanks again.
    0
  • Infopro
    if anyone else wants different examples / finds a bug, let me know in here or on the issue queue on GitHub

    Please use github for this sort of thing. These forums should not be used to support unsupported 3rd party projects. Thanks!
    0
  • N1ghteyes
    What is the best method to capture the returned message (if any) and display it ?

    Hi lvt, Could you post an issue on Github? That way more people are likely to see it and I can mark it as a Documentation issue as well. Issues " N1ghteyes/cpanel-UAPI-php-class " GitHub Thanks!
    0

Please sign in to leave a comment.