php-windows Digest 6 Apr 2008 21:46:13 -0000 Issue 3453
Topics (messages 28850 through 28850):
Include fails when "./" is in front of file name
28850 by: Noah Spitzer-Williams
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
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
--- End Message ---