What are some tips for optimizing PHP file paths for includes in HTML files?

When including PHP files in HTML files, it's important to optimize the file paths to ensure that the includes work correctly across different environments. One way to do this is by using the `$_SERVER['DOCUMENT_ROOT']` variable to create absolute paths for the included files. This helps to avoid issues with relative paths and ensures that the includes work consistently.

<?php
include $_SERVER['DOCUMENT_ROOT'] . '/path/to/your/file.php';
?>