OK!
I've had this itch to do this project since NZBMatrix came out with their API. This is only useful for NZBMatrix at the moment.
What I did was install WAMP (web server for Windows) and port forwarded port 80 to my computer.
Then, I wrote up the PHP script.
It's very straightforward:
There's a simple page with just a textbox and a Submit button. Your search term goes in the text box. Hit Search.
The next page shows up to 15 results.
Click on a result, and it sends the server a command to download the NZB file.
Alt.Binz is set to auto-import NZBs from the folder that the site saves them to. As long as Alt.Binz is running, the file will show up in the download queue. As long as Alt.Binz is connected, it will also begin downloading at this point.
This is very handy for when I'm either away from the house and someone mentions a show I want to check out, or any other scenario such as that, or my favorite use for it: downloading shows remotely from my iPad, and then watching those shows through TVersity on the iPad.