If you are using Selenium 1 then it is supported out of box for Firefox. Use type method to type path in text box.
I heard that attached file works in IE but I never tried this method.
If not then I don't see any other solution than attachFile
~ seleniumtests.com