php-windows Digest 10 Apr 2004 01:42:38 -0000 Issue 2202
Topics (messages 23399 through 23402):
Re: accessing files from mapped drive from another server
23399 by: Jattie van der Linde
23400 by: Svensson, B.A.T. (HKG)
23401 by: hubo
Tuning mySQL, php and apache
23402 by: Jim MacDiarmid
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 ---
I also tried this and I eventually gave up. Let me know if you find a solution.
-----Original Message-----
From: M.Staiger [mailto:[EMAIL PROTECTED]
Sent: 09 April 2004 10:23
To: [EMAIL PROTECTED]
Subject: accessing files from mapped drive from another server
Hello NG,
I need to access files via PHP from another local server. For
security-reasons I need to access them throught their physical path (e.g.
C:\path\file.txt) and not through a virtual path (e.g.
http://domain/path/file.txt). Therefore I mounted a drive ("F:") to access
those files (e.g. F:\path\file.txt) however this won't work. For php this
mounted path simply seems not to exist.
both servers : win 2k
IIS5, PHP 4.3
Anyone any hints?
Thanks,
Marc
--- End Message ---
--- Begin Message ---
Why do you need to do this? Would ftp or sftp be a better option for you if
security is an issue?
-----Original Message-----
From: M.Staiger
To: [EMAIL PROTECTED]
Sent: 2004-04-09 11:23
Subject: [PHP-WIN] accessing files from mapped drive from another server
Hello NG,
I need to access files via PHP from another local server. For
security-reasons I need to access them throught their physical path
(e.g. C:\path\file.txt) and not through a virtual path (e.g.
http://domain/path/file.txt). Therefore I mounted a drive ("F:") to
access those files (e.g. F:\path\file.txt) however this won't work. For php
this mounted path simply seems not to exist.
both servers : win 2k
IIS5, PHP 4.3
Anyone any hints?
Thanks,
Marc
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Actually it is a security issue, too. You have to be an authetified user
(and not this anonymous one: IUSR_<machine_name>) to have access to any
remote directory.
Just uncheck the option "anonymous login" within you IIS admin for your php
script (and enter you username and password when asked).
"M.Staiger" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hello NG,
>
> I need to access files via PHP from another local server. For
> security-reasons I need to access them throught their physical path (e.g.
> C:\path\file.txt) and not through a virtual path (e.g.
> http://domain/path/file.txt). Therefore I mounted a drive ("F:") to access
> those files (e.g. F:\path\file.txt) however this won't work. For php this
> mounted path simply seems not to exist.
>
> both servers : win 2k
> IIS5, PHP 4.3
>
> Anyone any hints?
>
> Thanks,
> Marc
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
I'm working with Apache 2.0 and MySQL 4.0.. I'm trying to tune the
performance of my site. I was wondering if there was a way to grab an
existing open persisent DB connection instead of opening a new one
unless it's needed?
Thanks in advance,
Jim
--- End Message ---