Can you provide an example of a script that effectively includes files from any directory level in PHP?

When including files in PHP from different directory levels, it's important to use the correct path to avoid errors. One effective way to include files from any directory level is to use the `__DIR__` magic constant in combination with `dirname(__FILE__)`. This allows you to dynamically generate the correct path to the included file regardless of the directory structure.

// Include file from any directory level
include __DIR__ . '/path/to/include/file.php';