Re: login to protected directory by php

From: Date: Fri, 13 Aug 2010 22:56:26 +0000
Subject: Re: login to protected directory by php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-307455@lists.php.net to get a copy of this message
Based off what your saying my guess is that the request is not hitting your php script. Is the php script in the protected directory? If so what is it's file name and what url are you hitting for the test? Chris. On Fri, Aug 13, 2010 at 6:21 PM, Ali Asghar Toraby Parizy < aliasghar.toraby@gmail.com> wrote: > Hi. I have a protected directory in my host. I have configured .htaccess > successfully and it works prefect. > Now I'm looking for a solution to login and logout by a php script. > In my site I have a login page. In that page I set 'PHP_AUTH_USER' and ' > PHP_AUTH_PW'. but when I try to open protected directory, user > authentication dialog appears. > How can I do this? What is my error? > > -- > Ali Asghar Torabi >

« previous php.general (#307455) next »