Showing the source code

I am developing an application where a user can input the source code.
It could be php code, xml , java or ruby code.

Is there a blog or resource which I can use to display the pasted source
code in an easy to use manner.

Basically I want feature which is provided at

http://pastie.caboo.se/
http://slickorslack.com/

Any suggestions.

Use a text_area to capture the code and then render it out within

.

radiograph + ultraviolet