I'm sorry but I'm not that familiar with php, so I would be happy if you could explain yourself a little bit better...
I don't really ask for spoon feeding its just that I'm new to programming & Co...
In the meantime, looking up on google I fouded this:
I will try, to integrate this in a couple hours and I'll let you know if it succeed or not. though this is just for Windows Firewall, while your idea dribbles any kind of wall... so it's still interesting.
I know i was surprised too when i found out there was pretty much nothing on the net about it!
Dunno if it's against the forum's rules but maybe if something works out, I'd like to post it overhere, in some kind of thanks for the help.