lostdreamer - 9:24 am on Jan 6, 2012 (gmt 0)
He is not requesting the correct path
In includes/right_navigation.php he has
But the file right_navigation is being included in the ROOT of the ftp.
He should not be using ../ in there.
But you are right, the best way is using absolute paths like with
include( $_SERVER['DOCUMENT_ROOT'] . '/includes/aaa.php' );
Just remember, the $_SERVER variable CAN be overridden.... This is why I tent to use the dirname(__FILE__) method.