php-windows Digest 13 Nov 2003 09:31:58 -0000 Issue 1997
Topics (messages 22080 through 22081):
PHP mkdir with IIS and network share
22080 by: Dang Nguyen
attachment with pdf files
22081 by: Disko_kex
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 ---
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
--- End Message ---
--- Begin Message ---
Hi again..
I have a really strange problem when I sending emails with attachment.
With regualar text files, images etc it works fine but with pdf files it
wont work. I also tried with "MIME E-mail message composing and sending"
class from phpclasses.org. When I compared the orginal file with the one
I sent, I notice that the sent pdf file has added a lot of \ exmple "
will result in \" and some other chars have changed too.
Why is that and how can I fix it?
// Jocke
--- End Message ---