PHP mkdir with IIS and network share

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

 



Hi All,

I have a php script that was carried over from an Apache/Solaris environment
into a Windows 2000/IIS/PHP 4.3.4 environment.  Now I need to tweak the
script a little to deal with the filesystem differences.  The script, as
originally designed and written, can read files from the filesystem, create
directories, write files back to the filesystem, etc.  After moving to the
Windows environment, the script is now required to access files on a network
share and create files and directories over the network share.  I've figured
out how to configure IIS so that PHP scripts will be able to read, using
opendir(),readdir(), etc., from the network share.  However, after the
reconfiguration of IIS, my scripts still cannot create directories over the
network share.  No errors are getting written to my error log file either.

I have reconfigured IIS to use an account that has read and write
permissions on the network share when "anonymous" access is used, which is
how the scripts can now read and list files on the network share.   Does
anyone have any other suggestions for me to check or do so that the scripts
can also create files and directories on the network share?

code snippet:
$directory = '\\\\seint16\\nt_share\\';
mkdir($directory,0755);


Thanks,
Dang Nguyen

-- 
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