so im using a code that ive used a million times on other hosts to include files, but for some reason, in godaddy, it looks like im only able to include files that are in the same directory
so the only thing that works is this
include(‘header.php’)
but i have the header file in a directory called /includes
and i want to include it in a file thats located in a different directory called /account
anytime i try to do this
include(‘/includes/header.php’)
it gives me this error
failed to open stream: No such file or directory in /home/content/k/o/o/xxxx/html/base_directory/account/index.php
any ideas? i called godaddy, and they werent much help. might be something to do with the server configurations, which they said i would be able to change using a php ini file or an htaccess file, but didnt let me know how
im in a shared server
thanks in advance