Re: [PHP] login to protected directory by php

2010-08-16 Thread Ashley Sheridan
On Mon, 2010-08-16 at 09:27 +0530, kranthi wrote: > i would configure apache to let php interpreter handle all kinds of > extensions ( http://httpd.apache.org/docs/2.0/mod/mod_mime.html#addhandler > ) > > even then u'll have go through all the steps pointed out by Ash. > the only advantage of thi

Re: [PHP] login to protected directory by php

2010-08-15 Thread kranthi
i would configure apache to let php interpreter handle all kinds of extensions ( http://httpd.apache.org/docs/2.0/mod/mod_mime.html#addhandler ) even then u'll have go through all the steps pointed out by Ash. the only advantage of this method is more user friendly URL -- PHP General Mailing Lis

Re: [PHP] login to protected directory by php

2010-08-15 Thread Ashley Sheridan
On Sun, 2010-08-15 at 22:15 +0430, Ali Asghar Toraby Parizy wrote: > all files (web pages, pictures, and exe files) and folders in a directory > should be protected against anonymous users. > I create an application with php and mysql for registered users. when a user > registers it's information

[PHP] login to protected directory by php

2010-08-15 Thread Ali Asghar Toraby Parizy
all files (web pages, pictures, and exe files) and folders in a directory should be protected against anonymous users. I create an application with php and mysql for registered users. when a user registers it's information will be saved in database and its username and password will be added to .ht

Re: [PHP] login to protected directory by php

2010-08-13 Thread chris h
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.tor...@gmail

[PHP] login to protected directory by php

2010-08-13 Thread Ali Asghar Toraby Parizy
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 dir