Context: I am very new to PHP.
My server directory is home/crowdapp/public_html/brand/
In home/crowdapp/public_html/brand/signup.php, I am trying to include two files:
home/crowdapp/public_html/brand/includes/signup.inc.php and
home/crowdapp/public_html/brand/includes.config.php
with the include_once() function and require.
Both includes were working fine last week but suddenly they stopped working.
I have tried using __DIR__."file_path", ../filepath, ./filepath, and /filepath.
and even the full link, but nothing is working. I have looked at similar questions and the answers aren't working for me either. How can I fix this?
Try this: