Help,
when i include file on directory.. it can't be parse.
include "template/test.php";
but when i include in the same level directory, it done no error:
include "test.php";
why ??
try this...
include("../template/test.php");
i was tried include ("../template/test.php"); but still error
root |---- Template [directory] | |----test.php |---index.php
look at the schema
at index.php i must
include template/test.php
any comment
In /root/index.php you must use
\'./template/test.php\'
In any upper level you must go to /root first,(writing ../ for each level), and then to your php
for example \'../../template/test.php\'
Saludos, JMSE