Re: [PHP-WIN] is_dir: runs bad under IIS/Win2K

2003-07-08 Thread Anthony
That's becasue on IIS the service runs under the IUSR_ user. If you are running Apache, it defaults to run under a system account. If you want IIS to be able to see more folders on the system, give the IUSR_ user more rights. If you did something like if (is_dir('C:\Inetpub\wwwroot')) echo "It'

Re: [PHP-WIN] is_dir: runs bad under IIS/Win2K

2003-06-27 Thread morris71
Just a few notes about my problem! It seems that PHP 4 on Windows 2000 with IIS 5.0 all directories of level 1 (starting from the "root") aren't visible as "directories". In fact, I have tested some directory-paths with "is_dir" function, with different paths and PHP is able to recognize only / (ro

[PHP-WIN] is_dir: runs bad under IIS/Win2K

2003-06-26 Thread Nadim Attari
> << is_dir(session_save_path()) >> if (filetype(session_save_path()) == 'dir') { echo "It is a directory... SMILE PLZ"; } Nadim Attari http://www.alienworkers.com

[PHP-WIN] is_dir: runs bad under IIS/Win2K

2003-06-26 Thread morris71
Hi all! I have a little (or not?) problem with PHP filesystem functions with a IIS/Win2000 installation! I'm trying to execute a simple << is_dir("c:/tmp") >> but the function return 0: in practice for PHP c:/tmp doesn't exist. The same, obviously, with "c:\temp", "/tmp", "\tmp", "c:\\temp" and so