Khai wrote: > STDERR and STDOUT are defined as constants. Is there a way to redefine > these constants? only if you use runkit (which is probably not recommended in production environments): http://php.net/runkit consider that constants are called as such for a reason. you should consider that it's probably better to define & use a couple of userland vars to point to whatever it is you want to point to - either that or redirect stdout/stderr in the shell/cmdline that calls your script instead. > > Thanks > Khai > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php