Hi, to all.
I've a code typed in php on my index.php, that code calls another file engine.php that is in another sub directory, that file reads a directory searching for *.txt, open each file and search/count for a xml label and show the results.
The problem is that when i execute the engine.php from the directory /process (in this directory i store all my functions) the code doesn't execute correctly, but when i move the engine.php to the directory where the files to count are it executes and shows all the information correctly. What could be the problem?
Thanks.