php-windows Digest 14 Sep 2004 13:23:03 -0000 Issue 2395

Topics (messages 24567 through 24569):

Reading mapped drive with PHP5
        24567 by: George Pitcher

Performance issues in split PHP/MySQL installation
        24568 by: Gabor Szabo

Re: NT username detectable?
        24569 by: Gryffyn, Trevor

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,

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

--- End Message ---
--- Begin Message ---
We are using PHP 5, Apache 1.3.x and MySQL on Windows.
Everything used to be on one server and the site seemed to work well.

For business reason we had to movethe MySQL database to another Windows
machine near-by. Since the move the  time it takes to fetch a page
increased considerably.

As a first try I replaced the mysql_connect calls by mysql_pconnect.
It does not seem to make a difference.


So while I try to setup some bechmarking printouts I'd appreciate some
ideas how to find the problem and how to improve speed.

regards
   Gabor


ps.
If I understand correctly on Windows there is only one Apache process,
and the thread created to serve the page is recycled immediately.
Based on this you cannot actually have persistent database connections
using Apache on Windows. Please correct me if I am mistaken.

--- End Message ---
--- Begin Message ---
Thanks for the note.  Unfortunately I don't have visibility to the
settings they've chosen on the IIS box.  I told them I wanted just
Windows Integrated Authentication activated, but initially they left
"anonymous" still activated.  Maybe they still have Basic turned on as
well.

I just assumed they knew what they were doing.. Hah..  Silly me.

-TG

> -----Original Message-----
> From: Manuel Lemos [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 13, 2004 5:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] NT username detectable?
> 
> 
> Hello,
> 
> On 09/13/2004 05:07 PM, Trevor Gryffyn wrote:
> > Ok, I finally talked our IT guys into turning off the 
> "Anonymous Access"
> > and I can get into the PHP scripts just fine and "LOGON_USER" is
> > populated just fine, but some of the other users in the 
> company get a
> > popup login request when they hit my PHP pages.
> 
> That is basic authentication, not NTLM.
> 
> 
> > If they log in with their usual domain login, password and 
> domain name,
> > they can get in just fine.
> > 
> > The first thought is permissions.  But now it's doing it to my login
> > which it didn't do at first.  And I should have full 
> permissions on that
> > folder and all.
> > 
> > Could it be that that machine MAY be on another domain?  We 
> apparently
> > have two domains here and I'm not sure which one it belongs 
> to.  Does
> > that make any sense to anyone?
> 
> If NTLM authentication succeeds, users have autenticated in 
> the domain 
> that they have logged in when they started their Windows 
> logon session.
> 
> -- 
> 
> Regards,
> Manuel Lemos
> 
> PHP Classes - Free ready to use OOP components written in PHP
> http://www.phpclasses.org/
> 
> PHP Reviews - Reviews of PHP books and other products
> http://www.phpclasses.org/reviews/
> 
> Metastorage - Data object relational mapping layer generator
> http://www.meta-language.net/metastorage.html
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---

Reply via email to