Hello, please can somebody help me. I am going nuts. Really I am close to totally freaking out.
I have a problem that seems minor and ridiculous but cost me already 3 working days. I have a working php/mysql homepage and used to use Ommnihttpd until 3 days ago. I installed the latest versions of Apache and php4 3 days ago on Windows 2000. No matter what I do my script can not include another file from a directory on the same level in the directory tree. I have the following directory structure: c:\webpage\classes\_dentonaproject\page_dentona.class.php c:\webpage\classes\design\page.class.php In the file page_dentona.class.php the first line says the following: require_once('../design/page.class.php'); The following error message comes up: Warning: main(../design/page.class.php): failed to open stream: No such file or directory in D:\dentona_new\classes\_dentonaproject\page_dentona.class.php on line 2 Fatal error: main(): Failed opening required '../design/page.class.php' (include_path='.;c:\php4\pear') in D:\dentona_new\classes\_dentonaproject\page_dentona.class.php on line 2 I wrote a test.php file in the _dentonaproject directory: <?php require_once("../design/test.php"); echo "This is a test page."; ?> and put this into the design directory: <?php php_info(); ?> and it works fine. What could be the problem. Really I am getting grey hair. Is there ANYTHING in the php.ini file httpd.conf that could cause this? I looked them over about 50 times. Thx webmaster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php