RE: Reading mapped drive with PHP5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trevor,

Thanks for your suggestions.

I did manage to solve it in a semi-PHP way. The script buiulds a batchfile
to execute some Java apps. All I did was to build a few lines at the
beginning of the batch file to do the copying at dos level. Did the trick.

Cheers

George

> -----Original Message-----
> From: Gryffyn, Trevor [mailto:TGryffyn@xxxxxxxxxxxxxxxxx]
> Sent: 14 September 2004 2:43 pm
> To: php-windows@xxxxxxxxxxxxx
> Cc: George Pitcher
> Subject: RE:  Reading mapped drive with PHP5
>
>
> 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@xxxxxxxxxxx]
> > Sent: Tuesday, September 14, 2004 5:56 AM
> > To: php-windows@xxxxxxxxxxxxx
> > Subject:  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
> >
> >
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux