The online racing simulator
Colors in Windows Command Line

<?php 
passthru
('powershell Write-Host "_ Red" -ForegroundColor Red -nonewline; Write-Host " vs " -ForegroundColor White -nonewline; Write-Host "Blue" -ForegroundColor Blue;');
?>

So, it's kinda possible, if they have power-shell on their system. I just need to wrap a function around it.
Git (via msysgit) does have colors on the command line also. It should be possible to extend PHP to include this functionality, but I'll have to learn C++ to do that.
-
(DarkTimes) DELETED by DarkTimes
I had the need for ANSI colours under Windows this week on another project. Rather than do anything too funky I've cheated and used ANSICon (see https://github.com/adoxa/ansicon) with the "-p" argument.

The only problem is the license. It's classified as "freeware" but I've not managed to verify anything about redistribution rights, etc. It may help.
Thank you TAA!
Quote from the_angry_angel :I had the need for ANSI colours under Windows this week on another project. Rather than do anything too funky I've cheated and used ANSICon (see https://github.com/adoxa/ansicon) with the "-p" argument.

The only problem is the license. It's classified as "freeware" but I've not managed to verify anything about redistribution rights, etc. It may help.

readme.txt?

Quote :The original zipfile can be freely distributed, by any means. However,
I would like to be informed if it is placed on a CD-ROM (other than an
archive compilation; permission is granted, I'd just like to know).
Modified versions may be distributed, provided it is indicated as such
in the version text and a source diff is included.


FGED GREDG RDFGDR GSFDG