Hello PHP users,
In my script I am using the next script:
include_once('a.php');
The functions in a.php can't be called because 'a.php' is located in an other directory.
I tried:
include_once('../pages/a.php');
include_once('..//pages//a.php');
include_once('..\pages\a.php');
include_once('..\\pages\\a.php');
include_once('./pages/a.php');
But is was not possible to call the functions.
Can someone please give me the right syntax to call the php file from an other directory?
Nice regards,
Michelle.
In my script I am using the next script:
include_once('a.php');
The functions in a.php can't be called because 'a.php' is located in an other directory.
I tried:
include_once('../pages/a.php');
include_once('..//pages//a.php');
include_once('..\pages\a.php');
include_once('..\\pages\\a.php');
include_once('./pages/a.php');
But is was not possible to call the functions.
Can someone please give me the right syntax to call the php file from an other directory?
Nice regards,
Michelle.