Hi everyone, I’m trying to use include_once('config.php'); in my index.php, but I keep getting a "file not found" error. The file is in the same directory, and I’ve checked the permissions and paths, but nothing works. Any ideas what could be wrong? Thanks!
The file doesn't exist in the directory or you may have misspell the file name. Try printing the current path or use an absolute path using __DIR__ or dirname(__FILE__)