Include fails when "./" is in front of file name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This works:
   include("file.inc.php");

This doesn't:
   include("./file.inc.php");

I can't figure it out!  PHPMyAdmin uses "./" so it's obviously not working.

Here's my environment:
   Win2003 Server w/ IIS 6
   PHP 5.2.5 setup as ISAPI
All PHP and httpdoc directories have read, write, and execute permissions given to IIS_WPG, IIS_USER, and NETWORK SERVICE PHP.ini's include path is: include_path = ".;.\includes;.\pear" (I've also tried include_path = ".;./includes;./pear")
   phpinfo() works fine.

Anyone have any ideas?

Thanks!

Noah

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux