Hi,
Tips of Tuning PHP Including / File Accessing
Whenever opening files or including scripts into the main script try to specify a full path or at least an easily resolvable partial path.
Inefficient Approach: PHP Code:
<?php include "file.php"; ?>
Performance Friendly Approach: PHP Code:
<?php
include "/path/to/file.php";
// or
include "./file.php";
?>
Thanks,
R.Gopi.