<?php
$index = file_get_contents('C:\xampp\htdocs\gopools\public\projects\index.php');
$menu = file_get_contents('C:\xampp\htdocs\gopools\app\core\project_menu.php');

$html = '<textarea id="code_index">' . htmlspecialchars($index) . '</textarea>' .
        '<textarea id="code_menu">' . htmlspecialchars($menu) . '</textarea>';

file_put_contents('C:\xampp\htdocs\gopools\public\api\temp_copy.html', $html);
echo "Done";
