In my Xampp I can do :
require_once('../myFile.php');
And it works.
When I upload the file that do the require_once, it doesn't work.
Here is the error on the server:
Warning: require_once(../myFile.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxx/public_html/yyyy/testinclude.php on line 11
Fatal error: require_once() [function.require]: Failed opening required '../myFile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/yyyy/testinclude.php on line 11
Any idea?