Date: 02/25/01
- Next message: Sebastian Stadtlich: "[PHP-DEV] AW: PHP 4.0 Bug #7069 Updated: warning message + leak memory"
- Previous message: brad <email protected>: "[PHP-DEV] PHP 4.0 Bug #9444: Allow show_source output to be set as a variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 9444
Updated by: derick
Reported By: brad <email protected>
Old-Status: Open
Status: Closed
Bug Type: Feature/Change Request
Assigned To:
Comments:
You can easily do this with the outputbuffering functions:
ob_start();
show_source("filename");
$contents = ob_get_contents();
ob_end_flush();
Previous Comments:
---------------------------------------------------------------------------
[2001-02-25 13:21:06] brad <email protected>
Can you make it so that when you call show_source that you can set its output as a variable:
ie: $var = show_source( $file );
Thanks!
Brad Taylor
Senior Web Content Developer
BradCom Industries LTD
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9444&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sebastian Stadtlich: "[PHP-DEV] AW: PHP 4.0 Bug #7069 Updated: warning message + leak memory"
- Previous message: brad <email protected>: "[PHP-DEV] PHP 4.0 Bug #9444: Allow show_source output to be set as a variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

