I have a script located at localhost/uploader/ In this directory there are directories for the script’s CSS and JS and IMAGES, etc. If I run http://localhost/uploader/ everything works perfectly.
This script is part of a larger project. When I try to access this script using “include “…/uploader/index.php”;” it finds the script but not the CSS, JS, IMAGES directories. I would prefer to not go thru the entire script changing the locations to match from the root. Is there a way in the ‘include’ so that it will use the directories beyond the uploader one instead of looking from the root?