The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

run bash scripts from whm (php) plugins

Discussion in 'cPanel Developers' started by whm-expert, May 27, 2013.

  1. whm-expert

    whm-expert Active Member

    Joined:
    Nov 10, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    hello

    i need to a code to run bash script from plugins.

    i am already have the bash script in this path (/root/sample.sh)

    i already made the file "addon_sample.cgi", and its appear in plugin section in whm

    so all i need the php code to run a bash script?
    any help

    best regards
     
Loading...

Share This Page