stopping readfile dumping file contents to apache's error_log on error?

From: Date: Wed, 14 Mar 2001 16:16:37 +0000
Subject: stopping readfile dumping file contents to apache's error_log on error?
Groups: php.general 
Request: Send a blank email to php-general+get-43864@lists.php.net to get a copy of this message
Hi, I'm experiencing an odd situation. I am returning a large file back to a client w/ readfile(). If I cancel the stream before it is done, it will cause the PHP script to write the rest of the file's contents to Apache's error_log (creating quite a huge log file). I'm afraid I don't understand how to control PHP's logging and error reporting functions. I did place a @ infront of the readfile() call, but that didn't help. It also looks that it's not only readfile() that places the contents of its stream into error_log. Other PHP scripts that generate huge amounts of data, if canceled, also log their streams (text or binary) to error_log. How can I control this? I checked my php.ini file, but it didn't seem to give me any leads. Any hints or pointers would be greatly appreciated. Thanks very much, Seth Seth Ladd | Software Engineer, Product Development Brivo Systems, Inc. seth@brivo.com Confidential and Proprietary, Brivo Systems, Inc.

« previous php.general (#43864) next »