PATH Problem
Posted: Mon Apr 21, 2008 6:22 pm
Ok, what I'm trying to do is :
create a link like this http://www.domain.com/folder1
inside "folder1" I have an index.php with only this code :
<?php include("../file.php"); ?> and that file is calling other files on the root
and I have an error message lie this :
Warning: include(includes/connection.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/clint/includes/header.php on line 1
I hope someone understand what I'm trying to do
Thank You
create a link like this http://www.domain.com/folder1
inside "folder1" I have an index.php with only this code :
<?php include("../file.php"); ?> and that file is calling other files on the root
and I have an error message lie this :
Warning: include(includes/connection.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/clint/includes/header.php on line 1
I hope someone understand what I'm trying to do
Thank You