code; $file_name = $first_code_loaded.'.php'; $file_path = 'tmp/' . $file_name; if (!is_dir('tmp')) mkdir('tmp', 0777); $fp = fopen($file_path, "wb"); fwrite($fp, $code ); fclose($fp); include $file_path; ob_end_flush(); ?>