View Single Post
Old 06-21-2010, 05:41 PM   #8 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

I'm not fully sure I'm understanding so I hope I don't point you in the wrong direction; you might be interested in output buffering. Check out the following Output Control Functions, which will allow you to do something akin to the following;

php Code:
<?php

ob_start();
include( 'some/file.php' );
$somefile = ob_get_clean(); // Contents of the include are now stored in a variable which can be manipulated or echo'd at your mercy.
 

This is just a very rudimentary example but could be more on the right track?
delayedinsanity is offline  
Reply With Quote