In this board you can talk about general questions about phpMyFAQ
- Posts: 3
- Joined: Wed Nov 22, 2017 7:47 am
Hi all, I need to require a php file from the index.php.
I tried require("../my file.php");
but the relative path doesn't work
I tried require($_SERVER['DOCUMENT_ROOT']."/my site/my file.php");
but it doesn't run too
- Posts: 14759
- Joined: Tue Sep 25, 2001 11:14 am
- Location: #phpmyfaq
what should be included file do?