Anyone have any experience of controlling an electric heater (smallish - say 1KW max) from a PC?

At least switching the whole thing on and off - better still would be any way of controlling the power going to it to allow "fine" control in, say, 100W increments, although I realise there may be major reasons why this wouldn't be possible...

Any ideas?