Re: Need Help.

From: Date: Wed, 01 Jan 2003 15:38:06 +0000
Subject: Re: Need Help.
References: 1  Groups: php.general php.install 
Request: Send a blank email to php-install+get-9474@lists.php.net to get a copy of this message
Your include path is not setup so that the web server can find the file you are trying to include, if the file is in a sub directory make sure you are properly including it include_once('include/main.php') not just include_once('main.php'). And make sure the file you are trying to include exists in the location you think it does. Jason On Wed, 2003-01-01 at 01:28, thkiat wrote: > Hi, I'm a newbie for PHP. Just installed IIS & PHP on my PC. A test run gave me this:- > Warning: main(quote.php) [function.main]: failed to create stream: No such file or directory in > C:\Documents and Settings\aaa\My Documents\My Webs\excelpoint.org\index.php on line 139 > > Warning: main() [function.main]: Failed opening 'quote.php' for inclusion > (include_path='.;c:\php4\pear') in C:\Documents and Settings\aaa\My Documents\My > Webs\excelpoint.org\index.php on line 139 > > Somehow, I don't have this problem when I run this file on my remote webserver. > > Please advise. TQ!!!

« previous php.install (#9474) next »