Problem with 'include' function in PHP 4.3

From: Date: Mon, 06 Jan 2003 22:52:27 +0000
Subject: Problem with 'include' function in PHP 4.3
Groups: php.windows 
Request: Send a blank email to php-windows+get-17689@lists.php.net to get a copy of this message
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.

« previous php.windows (#17689) next »