Re: [PHP-DB] Username

2002-02-05 Thread Robert Weeks
If you read to part 2 of the tutorial it has quite a bit on inserting data. The reason there are tutorials and books are to teach the *concepts* behind what they are showing you. This is probably what is tripping you up; you create the table with uid as an integer, auto increment, not null field

FW: [PHP-DB] Username

2002-02-05 Thread Tony James
: -Original Message- From: Jennifer Downey [mailto:[EMAIL PROTECTED]] Sent: 05 February 2002 14:50 To: [EMAIL PROTECTED] Subject: [PHP-DB] Username Hi, It's me bothering you great helpers again! Wondering if you can help me? I know I am missing some

FW: [PHP-DB] Username

2002-02-05 Thread Tony James
Jennifer Downey [mailto:[EMAIL PROTECTED]] Sent: 05 February 2002 14:50 To: [EMAIL PROTECTED] Subject: [PHP-DB] Username Hi, It's me bothering you great helpers again! Wondering if you can help me? I know I am missing something stupid cause I am taking this pretty much straight out of the

Re: [PHP-DB] Username

2002-02-05 Thread DL Neil
Jennifer, You have a clear idea of what you want done by the script - as guided by "the book". However, do you have a clear idea of what the script is actually seeing - and therefore why it is doing what it's doing? When debugging, add a heap of ECHO statements to test pertinent values, eg befo

Re: [PHP-DB] Username

2002-02-05 Thread Jennifer Downey
I am not getting an error message. The te.php is connecting to the data base. Just not doing what I want it to. While that is a very good tutorial (if I was just logging in) but it has nothing to do with inserting information into the database via a form. But thanks for the tut. It will come in

Re: [PHP-DB] Username

2002-02-05 Thread Robert Weeks
What exactly is the error message? Did you change config.php to use the name of your database and your username & password? I've found the articles at devshed to be helpful in the past. This particular one has a pretty good explaination of setting up a user authentication system: http://www.devs

[PHP-DB] Username

2002-02-05 Thread Jennifer Downey
Hi, It's me bothering you great helpers again! Wondering if you can help me? I know I am missing something stupid cause I am taking this pretty much straight out of the PHP 4 Bible. Here is my table dump: CREATE TABLE users ( uid int(10) unsigned NOT NULL auto_increment, name varchar(20)

[PHP-DB] Username on NT Domain

2001-12-02 Thread Jack
Dear all Is there any function in php that can pass the username and password of NT domain to MYSQL interface?? I'm designning a database with interart with php for a web site, but i'm just concerning about the security of the user right!! Cheers Jack [EMAIL PROTECTED] -- PHP Database Mailing

RE: [PHP-DB] username/password db query

2001-10-01 Thread Ross Dmochowski
thanks for the help. with the suggestions, this is what finally resulted, i figured i'd post it in case it's help to any one else. http://www.some.com/badlogin.php";); } $db = pg_connect("dbname=some_com user=some_com"); $query = "SELECT * FROM userinfo WHERE firstname='$username'"; $authresult =

[PHP-DB] username/password db query

2001-09-30 Thread Ross Dmochowski
Hi. i'm new to PHP, and i can't seem to find out what i'm doing wrong with the following code: client posts username/password via SSL to this file, login.php, where i want to check the username/password combo against what is listed in the db if the entries are blank, it goes to a page that sends

[PHP-DB] Username/Password retrieval

2001-01-12 Thread Randy Johnson
Is the following statement the best way to handle a username/password validation $username and $password are form fields $result=""; $result= mysql_query (" Select password from ACCT_TBLE where (ACCT_NUM = '$username' and PASSWORD='$password')"); Now my question is will result be equal to "" if