Hi

I don't know if it's a bug or what? But I've reached a problem using PHP 4.3
which I downloaded it yesterday.

It's about 'include' function, I can't include a php file using an absolute
address. For example, all my pages are in "D:\Inetpub\wwwroot". And when I
want to include a page with the address:

"D:\Inetpub\wwwroot\includes\a.php"

with the command:

"include '/includes/a.php';"

it can't be done, it says:

Warning: main(/includes/a.php) [function.main]: failed to create stream: No
such file or directory in D:\Inetpub\wwwroot\index.php on line 2

Warning: main() [function.main]: Failed opening '/includes/a.php' for
inclusion (include_path='.;D:\Inetpub\wwwroot') in
D:\Inetpub\wwwroot\index.php on line 2



And as you can see above I know about the 'include_path' and I've set it to
'D:\Inetpub\wwwroot'.

Now I'll be really grateful if anyone helps.




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

Reply via email to