RE: [PHP] color codes

From: Date: Sat, 12 Apr 2003 03:06:38 +0000
Subject: RE: [PHP] color codes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143594@lists.php.net to get a copy of this message
> Is is possible to remove color codes from a string? > For example, if i execute a system() or shell_exec($a) using > something > like "man more" for $a, the result comes with linux color codes. Is it > possible to filter those codes so the result displays correctly? What do the codes look like? You should be able to preg_replace() them away... ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.general (#143594) next »