php-windows Digest 15 Sep 2004 21:10:44 -0000 Issue 2397
Topics (messages 24578 through 24580):
Re: Reading mapped drive with PHP5
24578 by: George Pitcher
Re: Secure LDAP
24579 by: Bowden, Zeb
PHP5 IIS ISAPI - Error: Invalid access to memory location.
24580 by: Andrew
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 ---
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:[EMAIL PROTECTED]
> Sent: 14 September 2004 2:43 pm
> To: [EMAIL PROTECTED]
> Cc: George Pitcher
> Subject: RE: [PHP-WIN] 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:[EMAIL PROTECTED]
> > Sent: Tuesday, September 14, 2004 5:56 AM
> > To: [EMAIL PROTECTED]
> > 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
> >
> >
>
--- End Message ---
--- Begin Message ---
You need to install the certificate(s) of the server you wish to contact
via ldaps ...
http://www.phpbuilder.com/lists/php-windows/2003121/0141.php
I assume this is still the case with the newer versions of php 4 and 5?
-zeb
-----Original Message-----
From: Christopher Derr [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 14, 2004 8:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Secure LDAP
I did a cursory search of the newsgroup, google and the buglist but I
didn't see anything definitive. I've got a WinNT box running Apache and
PHP 4.3.1. I can connect via ldap fine. Ldaps connects, but won't bind
with my login and password, though it does on my linux box without
issue.
I'm wondering what I may be missing. The dlls (libeay and ssleay) are
in the proper place. PHPinfo states ldap and ssl are enabled.
Is it the Windows version of ldap in PHP? Or is it me?
Thanks
Chris
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Ok, I finally got PHP5 to work on Windows 2000 Advanced Server in ISAPI
mode. It involved me copying files to the C:\WINNT folder, even though I
followed directions to get everything setup in the C:\php folder.
Well, I rebooted the server and now I get an error on all websites using
PHP: Invalid access to memory location.
I notice in the IIS Filters that my php5isapi.dll is showing up as unloaded.
The only way I can get my server to work (once again) is in cgi mode. I had
it working in ISAPI mode just fine for awhile without any trouble. Some of
the forum software I use (SMF) doesn't store the cookies properly in CGI
mode.
Any help is appreciated.
- Andrew
--- End Message ---