Thursday, September 2, 2010

PHP - Saving included php file in a variable

I am a ColdFusion Developer, got some work to do on PHP, below is a very basic thing, but being CF programmer you are used to using <cfsavecontent> tag to save contents of entire file, how can this be done using php, well sounds to be very simple

$fileContent = ob_get_contents();


No comments: