I have the following folder structure.
classificados
index.php
login.php
-->config
-->conecta.php
-->funcoes
-->banco-usuario.php
-->headers
-->cabecalho.php
-->menu.php
-->rodape.php
-->front
-->painel.php
-->outrasPaginas.php
If I include in the file pane.php the code so require_once("../headers/cabecalho.php");
goes from error always, because the file header.php that is in the headers folder, calls the file menu, then the file panel.php does not find the menu, wanted to do it the right way, how do I do it?
Can anyone help me?