Often you need to use the full server path to get includes to work faultlessly. Try things like: require_once($_SERVER['DOCUMENT_ROOT'].'/full/path/to/file.php'); I'm not sure I fully understand what you're saying in your post with regards to inside / outside. Can you post the error message it produces? Paul