PHP 4.0 Bug #9444 Updated: Allow show_source output to be set as a variable
| From: | derick@php.net | Date: | Sun, 25 Feb 2001 19:24:14 +0000 |
| Subject: | PHP 4.0 Bug #9444 Updated: Allow show_source output to be set as a variable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47483@lists.php.net to get a copy of this message | ||
ID: 9444
Updated by: derick
Reported By: brad@simplysmarter.org
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@simplysmarter.org
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