RE: [PHP-WIN] Reading mapped drive with PHP5
| From: | Gryffyn, Trevor | Date: | Tue, 14 Sep 2004 13:43:02 +0000 |
| Subject: | RE: [PHP-WIN] Reading mapped drive with PHP5 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24570@lists.php.net to get a copy of this message | ||
I found this page relating to mapped drives and PHP:
http://bugs.php.net/bug.php?id=26214&edit=1
Since you upgraded your PHP, maybe some of your other settings changed
as well. This page indicates that mapped drives are user-specific and
if your PHP script is running as a different user, that it might not
have access to the same mappings and that cause a problem.
This page:
http://www.phpbuilder.com/board/showthread.php?threadid=10262019
Mentions someone who couldn't use the UNC but could use a mapped drive.
They said changing to the CGI version enabled them to use the UNC.
Sounds like a far shot, and I have no idea why this would make a
difference (I'm sure someone on here does though.. I'd be curious to
find out).
Some things to look into at least.
-TG
> -----Original Message-----
> From: George Pitcher [mailto:george.pitcher@ingenta.com]
> Sent: Tuesday, September 14, 2004 5:56 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Reading mapped drive with PHP5
>
>
> Hi,
>
> No response received after my request yesterday, so I'll try again.
>
> I have a script that copies a file from a mapped drive on my
> local network
> and places it in a particular directory on my laptop. I then
> do somethjing
> with the file.
>
> While I ran PHP4.3 it worked like a dream, and since
> upgrading to PHP5, it
> just ignores the call - not even an error message is getting
> displayed.
>
> Can anyone shed any light on why this is happening (access permissions
> haven't changed since upgrading)?
>
> Better still, does anyone know the solution?
>
> Cheers
>
> George in Oxford
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>