Thanks Alex.
Just a note, I tried doing the "admin" version of this and I keep gettin an internal server error:
Example:
<form method="POST" action="$CFG->{admin_root_url}/admin.cgi" >
<input type="hidden" name="do" value="plugin">
<input type="hidden" name="plugin" value="ToolBox">
<input type="hidden" name="func" value="stripfrom">
blah blah
</form>
And in ToolBox.pm:
sub stripfrom {
blah blah
return;
}
I have run into problems running admin.cgi from a form, where the form fails, but a hyperlink to the same works. For example running the force repair (nph-build.cgi?do=repair&force=1) does exactly that... I cannot run it from a form (it does an all build instead), but a hyperlink works just fine.
Weird
http://www.iuni.com/...tware/web/index.html
Links Plugins
Just a note, I tried doing the "admin" version of this and I keep gettin an internal server error:
Example:
<form method="POST" action="$CFG->{admin_root_url}/admin.cgi" >
<input type="hidden" name="do" value="plugin">
<input type="hidden" name="plugin" value="ToolBox">
<input type="hidden" name="func" value="stripfrom">
blah blah
</form>
And in ToolBox.pm:
sub stripfrom {
blah blah
return;
}
I have run into problems running admin.cgi from a form, where the form fails, but a hyperlink to the same works. For example running the force repair (nph-build.cgi?do=repair&force=1) does exactly that... I cannot run it from a form (it does an all build instead), but a hyperlink works just fine.
Weird
http://www.iuni.com/...tware/web/index.html
Links Plugins