Re: ob_*() functions in Win9x

From: Date: Fri, 06 Apr 2001 02:22:43 +0000
Subject: Re: ob_*() functions in Win9x
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47377@lists.php.net to get a copy of this message
I just tried it, and it seems to work like a charm on my Win98 machine (WAMP). So far I have no problems with output buffering on my machine. Test script: <?php function alter_buffer($buffer) { $buffer = ereg_replace("he", "MWUAHAHA", $buffer); return $buffer; } ob_start("alter_buffer"); echo "hi! "; echo "ho! "; echo "he! "; ob_end_flush(); ?> Should output: hi! ho! MWUAHAHA! So as far as I know, at very least version 4.0.4pl1 supports Windows. Haven't tried anything with the gzhandler yet, but I'm told it works fine as long as you are using the windows port of it. -- Plutarck Should be working on something... ...but forgot what it was. "Christian Dechery" <lemming@vento.com.br> wrote in message news:5.0.0.25.2.20010405225835.00a35ce0@pop-gw.vento.com.br... > While struggling to get MS SQL error messages from PHP, someone here gave > me the idea of capturing the output when executing a query and even offered > me the code (thanks again)... I tried, the code was correct, but nothing > happened... > > I develop under Win98Me with Apache... but the script will run in Win2k > with IIS... > > does any of the ob_*() function family works under Win9x, or just in UNIX > and Win2k/NT? Is there a reasonable explanation for this? > > I see this as a real fault... means that nobody developing in Win9X > platforms can get MS SQL error messages, or anything that needs some more > of output handling, and not just relying on *_error() functions... > ____________________________ > . Christian Dechery (lemming) > . http://www.tanamesa.com.br > . Gaita-L Owner / Web Developer > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#47377) next »