Custom Plugin Issues/Questions

I am trying to build a custom piwik plugin that does not use the piwik libraries at all. Is it possible to use a HTML form to POST information back to my custom module? Basically I am trying to use the plugin for its UI integration.

The problem I am hitting now is that my POST data seems to get swallowed up by piwik.

I am assuming piwik is interpreting the post data as a track hit.

Thanks for any help or tips on this.

Edit: Some example code


<!-- piwik custom plugin UI form -->
<form method="post" action="./piwik/plugins/MYPLUGIN/postback/index.php">
  <input type="text" name="filepath" value="" />
  <input type="submit" value="Submit File Path" />
</form>

<! --  this is the postback processing script for the custom plugin UI form  -->
<?php
    //script location: piwik/plugins/MYPLUGIN/postback/index.php
   //question: why is POST empty?
  // or if not empty returns a garbled garbage string that starts with GIF*****??
   die( print_r($_POST,true));
?>