php-windows Digest 8 Jun 2007 09:13:10 -0000 Issue 3251
Topics (messages 28042 through 28046):
Re: Get files from network driver
28042 by: Niel Archer
28043 by: Han Jesse
28044 by: Niel Archer
28045 by: Han Jesse
Public folders in Outlook AND intranet
28046 by: Gustav Wiberg
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
this appears to be a permission error. The user PHP is running as
likely does not have permission to access to the file. Check
permissions on the directory/file and correct accordingly.
Niel
--- End Message ---
--- Begin Message ---
Hi Niel,
My apache and php are runing on Win2003Server(Server B),the file i
want to get on server A
i make a network driver from sever A named "Z" on server B,and
connected from my computer,then run the php code
what should i do to config my computer?
2007/6/7, Niel Archer <[EMAIL PROTECTED]>:
Hi
this appears to be a permission error. The user PHP is running as
likely does not have permission to access to the file. Check
permissions on the directory/file and correct accordingly.
Niel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi
Several thing you should check.
First, as they are both Server2K3, you should be using the full
permission system of windows not the simplified version XP defaults to.
So check the permissions set on the directory and file of the network
share. By default this is "Everyone" having read permission.But to
confuse things, "Everyone" doesn't include *everyone*, only
authenticated users, guests, and sometimes Anonymous logon.
Unless Apache/PHP are running under a User's account on server B that
also has a valid account on server A, they will not have permission to
access the directory. So you need to make sure that Apache/PHP are
using an acceptable account, or create one for them to run with. Be
aware that some accounts are not allowed to access network resources,
and this can include network shared directories. This mostly applies to
built in accounts and is only a problem if Apache/PHP are using one of
them to run, which is likely if they run as a service. You can find out
which User Apache is running under in the Task Manager or the Log On tab
of the properties of the Service.
Try these things for now to identify the problem.
Niel
--- End Message ---
--- Begin Message ---
Hi Niel
I change my apache running user , now i can get the file from network
share document !
Thank you !!
2007/6/7, Niel Archer <[EMAIL PROTECTED]>:
Hi
Several thing you should check.
First, as they are both Server2K3, you should be using the full
permission system of windows not the simplified version XP defaults to.
So check the permissions set on the directory and file of the network
share. By default this is "Everyone" having read permission.But to
confuse things, "Everyone" doesn't include *everyone*, only
authenticated users, guests, and sometimes Anonymous logon.
Unless Apache/PHP are running under a User's account on server B that
also has a valid account on server A, they will not have permission to
access the directory. So you need to make sure that Apache/PHP are
using an acceptable account, or create one for them to run with. Be
aware that some accounts are not allowed to access network resources,
and this can include network shared directories. This mostly applies to
built in accounts and is only a problem if Apache/PHP are using one of
them to run, which is likely if they run as a service. You can find out
which User Apache is running under in the Task Manager or the Log On tab
of the properties of the Service.
Try these things for now to identify the problem.
Niel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi there!
I wonder if anyone has done this kind of PHP-application?
1. Access to public folders in Outlook
2. The same public folders should be accessed from an intranet
mvh
/Gustav Wiberg
HMN Konsult
http://www.hmn.se/ <http://www.hmn.se/>
0500-27 20 56
--- End Message ---