What are the limitations of using include() with normal links in PHP?

Using include() with normal links in PHP can be problematic because the included file may not be found if the path is incorrect or if the file is moved. To solve this issue, it is recommended to use the __DIR__ constant to specify the absolute path to the included file. This ensures that the file will be found regardless of the current working directory.

<?php
include(__DIR__ . '/path/to/included/file.php');
?>