IRC color codes
I am writing a php IRC web interface and have everything working but the IRC color codes are making things look messy. I would like to get rid of them all together. I know this is very specific but does anyone know how to remove them or stop the server sending them in the first place.
this is just a guess but have you tried str_replac() ? and just replace the colour codes being sent?
In Unreal you can set mode +S in the channel to strip all color codes. :)
Most servers allow a room to have a mode set to strip colors. My other suggestion would be to try to capture the raw encoding before it heads to the server, then strip the codes, as rsdl suggested. Easiest to implement is a channel mode, but that assumes that you're only allowing people to use your interface to connect to your channels.
The Current RFC for IRC (1459) should contain all the raw numerics you need to grab... if not a search on Google should net you some pretty good leads.
Hope this helps.