|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-02-25 13:21 UTC] brad at simplysmarter dot 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 09:00:01 2025 UTC |
You can easily do this with the outputbuffering functions: ob_start(); show_source("filename"); $contents = ob_get_contents(); ob_end_flush();