please keep the replies 'on list' ...
Khai Doan wrote:
> Sorry, I hit the Send button by mistake. My problem is that these
> constant are defined at compile / startup time, before my script get to
> run. In Perl, I can close STDERR and STDOUT and re-open them to any
> file at anytime. In Perl,
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 consi
Khai wrote:
STDERR and STDOUT are defined as constants. Is there a way to redefine
these constants?
Nope. Once they're set, they're set.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
STDERR and STDOUT are defined as constants. Is there a way to redefine
these constants?
Thanks
Khai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo