PHP mkdir with IIS and network share

From: Dang Nguyen (dang155_at_comcast.net)
Date: 11/13/03


Date: Wed, 12 Nov 2003 16:11:28 -0800

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?

Thanks,
Dang Nguyen



Relevant Pages

  • Re: Great SWT Program
    ... inside a screen session, a certain environment ... crude and primitive version of the kind of functionality a Windows ... we were discussing a user-written script ... an arbitrary command line as a new screen session or whatever. ...
    (comp.lang.java.programmer)
  • RE: Connecting to Document Library from 2003 server
    ... \par WSS can only be installed in Windows 2003. ... \par "Would like to be able to script adding documents as you can in Windows XP" ... click Tools->Map network driver... ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Modelling Complex Sentences
    ... re-inventing the network data model). ... If such as classifying node does not exist, ... Since people complained that dbd's scripts were too long, ... you typically use the CREATE/INSERT commands to ...
    (comp.databases.theory)
  • Re: Download email attachement automatically with no client
    ... I'm also limited for the Windows ... However, since Windows lacks a mature scripting environment, something like ... Cygwin should have an ancient, but a somewhat usable Perl build. ... It should be possible to cobble together a Perl script that performs the necessary work. ...
    (comp.mail.misc)
  • Re: Change IP related values due to WAN design change
    ... Unknown network, ... For the cost of testing a dangerous script in a big ... > recurse your text file into an array. ... > var newSettings = new NetworkSettings; ...
    (microsoft.public.windows.server.scripting)