I have the following include:
include('../header.php');
In the pages that are the same folder as the include header works, however when a folder above does not work,
The page that has the include is inside pages / 1998
The following errors are issued:
Warning: include_once (../ actions / connection.php): failed to open stream: No such file or directory in C: \ xampp \ htdocs \ PMI-WEB-CONTAB-ALPHA \ pages \ header.php on line 5
Warning: include_once (): Failed opening '../acoes/conexao.php' for inclusion (include_path = 'C: \ Xampp \ php \ PEAR') in C: \ xampp \ htdocs \ PMI-WEB-CONTAB-ALPHA \ pages \ header.php on line 5
Warning: include_once (../ actions / modal.php): failed to open stream: No such file or directory in C: \ xampp \ htdocs \ PMI-WEB-CONTAB-ALPHA \ pages \ header.php on line 6
Warning: include_once (): Failed opening '../acoes/modal.php' for inclusion (include_path = 'C: \ Xampp \ php \ PEAR') in C: \ xampp \ htdocs \ PMI-WEB-CONTAB-ALPHA \ pages \ header.php on line 6
Warning: require (../ acoes / pagina_verificar.php): failed to open stream: No such file or directory in C: \ xampp \ htdocs \ PMI-WEB-CONTAB-ALPHA \ pages \ header.php on line 11
Fatal error: require (): Failed opening required '../accessories/pagina_verify.php' (include_path = 'C: \ Xampp \ php \ PEAR') in C: \ xampp \ htdocs \ PMI-WEB-CONTAB-ALPHA \ pages \ header.php on line 11