What best practices should be followed when including external files, such as Core.php, in PHP scripts to avoid conflicts or errors?
When including external files in PHP scripts, it is important to follow best practices to avoid conflicts or errors. One way to do this is by using the `require_once` or `include_once` functions instead of `require` or `include` to prevent the file from being included multiple times. Additionally, it is recommended to use absolute paths when including files to ensure that the correct file is being included.
<?php
require_once(__DIR__ . '/Core.php');
// Your PHP script code here
?>