Skip to main content

php example uapi?

Comments

3 comments

  • sparek-3
    If you are going to be doing this from the command-line, why not just use the /usr/local/cpanel/bin/uapi binary?
    0
  • jeffschips
    You raise an option which I have tried and the binary on the command line works, but I need to pass variables set by administrator to the binary, so I figured a php script will do that. Also, I've tried calling the binary from a bash script and can't get that to work either. Any options viable for passing variables I'll consider. Thank you!
    0
  • cPanelMichael
    Also, I've tried calling the binary from a bash script and can't get that to work either.

    Hello, Could you let us know the specific command you used? Did you utilize URI-encode values? Thank you.
    0

Please sign in to leave a comment.