RE: [PHP] Connection Form
| From: | Sam Masiello | Date: | Fri, 03 Nov 2000 13:56:25 +0000 |
| Subject: | RE: [PHP] Connection Form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23571@lists.php.net to get a copy of this message | ||
Hello Jon!
You didn't mention what type of database you are using, but the code in the
example below can be modified depending on your database ....this one
happens to be MySQL specific.
http://zend.com/codex.php?id=67&single=1
HTH
Sam Masiello
System Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: Jon [mailto:jzuazoa@nexo.es]
Sent: Friday, November 03, 2000 6:05 AM
To: php-general@lists.php.net
Subject: [PHP] Connection Form
I need to create a "connection form" for my site and I want the password to
be checked against a database. After being validated by the database I need
to save username&password in global variables so in every other page of my
site I would be able to check permisions and so reject the non-validated
users. Is this posible using php? Is there avaible some lines of sample code
to do this?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net