PHP open file

To read the contents of a file into a string, please use the following code:

<?php
    $file_path = "";
    
    $contents = file_get_contents($file_path);
?>

As always, happy coding.