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!!!


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to