I\'m currently looking at different solutions getting 2 dimensional mathematical formulas into webpages. I think that the wikipedia solution (generating png images from LaTe
There is a modern service called "mathtran" which provides a robust and fast way to this sort of thing: http://www.mathtran.org/
The big caveat is that only TeX math commands are allowed; AMSLaTeX, in particular, is not supported.
As everyone has said, there are many services that do this already. Here is another easy one that I've used a number of times (and you can install it locally on your server if necessary):
http://www.codecogs.com/components/equationeditor/equationeditor.php