Tag Archives: include

393 views

PHP how to include file from parent directory relative path

If You have an Android project web in PHP code, you can to try this code for including file from parent directory: Example source code: // from parent dir include "./myIncludeFile.php";     // from parent dir include __DIR__."/../myIncludeFile.php";   … Continue reading

Posted in PHP | Tagged , | Comments Off on PHP how to include file from parent directory relative path