Sometimes that is possible. It depends on the security settings and permissions on the server. What type of files are you trying to call up and use? Sometimes you can use relative paths that go above the site root and then up into the other site directory in order to reference a file in the code. You could also try using an absolute path. I think you can get the absolute path of a php page with:
<?php realpath(""); ?>