Created
August 30, 2023 06:19
-
-
Save th4s1s/d091528ac8dc251cadf5f1a2d9afdfce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $filename = 'index.php'; | |
| $fileContent = file_get_contents($filename); | |
| if ($fileContent !== false) { | |
| echo $fileContent; | |
| } else { | |
| echo "Failed to read the file."; | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment