fusionictnl
Verified User
I've created a plugin for Awstats in DA.
It's name shows up as "Hello World" in the CP, but under Plugin Manager it says "AwStats", a bug ???
http://www.directadmin.com/forum/showthread.php?s=&threadid=3901
I have 2 questions about creating a plugin:
1:
When I make a submit form and do a submit. The url shows up correctly CMD_PLUGIN...... ?var=variable, but I can't get the values with PHP as $_POST["var"] or $_ENV["var"] or $_GET["var"], how can I get these posted vars ???
2:
Can a plugin communicate with the CP ? Without letting the user know the plugin what it's usr/pass is ? (Plugins are started as a seperate process?)
Or does some enviroment variable contain the password?? I can get the username but not the password!
I would really like these questions answered so I can expand my plugin to contain extra features for AwStats with DA.
Thx!!
It's name shows up as "Hello World" in the CP, but under Plugin Manager it says "AwStats", a bug ???
http://www.directadmin.com/forum/showthread.php?s=&threadid=3901
I have 2 questions about creating a plugin:
1:
When I make a submit form and do a submit. The url shows up correctly CMD_PLUGIN...... ?var=variable, but I can't get the values with PHP as $_POST["var"] or $_ENV["var"] or $_GET["var"], how can I get these posted vars ???
2:
Can a plugin communicate with the CP ? Without letting the user know the plugin what it's usr/pass is ? (Plugins are started as a seperate process?)
Or does some enviroment variable contain the password?? I can get the username but not the password!
I would really like these questions answered so I can expand my plugin to contain extra features for AwStats with DA.
Thx!!