php3-list | 199903
Date: 03/31/99
- Next message: Chad Cunningham: "Re: [PHP3] Database help for beginner"
- Previous message: Bo Meyer: "Re: [PHP3] is_writeable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am setting up a database using MySQL and using PHP3 as the web interface. I
am running RedHat 5.1, Apache 1.3.4, MySQL version 9.29 Distribution
3.22.16a-gamma, and php3 (I don't know the version, I downloaded it and
installed about one month ago). Everything so far has been going very smooth.
My current problem is trying to use the http authentication portion of php3 and
have it query the MySQL database to check the username and password. I have one
particular page that I want people to have to authenticate in order to access.
In my mysql table I have Password and UserName columns. I am sure this is
something rather easy to accomplish, unlike everything else I have done, I am
not able to figure this out from the php documentation. I have attached my
test.php3 file that I am using to test this out. I only have the example from
the php3 documentation for http authentication in this file. I was playing
around with doing a MYSQL_QUERY but I had it so screwed up I took it out and I
am starting over. If someone could point me in the right direction I would
appreciate it.
Thanks,
--
Keith
keith <email protected>
Linux http://www.linux.org
- text/x-c attachment: test.php3
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Chad Cunningham: "Re: [PHP3] Database help for beginner"
- Previous message: Bo Meyer: "Re: [PHP3] is_writeable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

