Posted By

mikael12 on 11/03/10


Tagged

get-content


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

roli000


Get content into variable with require


 / Published in: PHP
 

  1. require 'file.php';
  2. $content = ob_get_contents();
  3.  
  4. echo $content;

Report this snippet  

You need to login to post a comment.