how to call files from other directories in php,

-1

I already tried with the requires_once and the included but I still get an error:

    
asked by Wilson Cajisaca 23.05.2016 в 08:26
source

1 answer

2

The menu page that gives you the error is in views / aplication and you are trying to access two directories above but you only use a directory escape .

With the instruction you are using you would be looking for claseheredada.php within the folder views and that is not where it seems to be.

Updated example:

require_once '../../modelo/claseheredada.php';
    
answered by 23.05.2016 в 09:36