Posts: 1,832
Location: Somewhere else entirely
|
If these things are coming in from an HTML form, try $_POST['PHP_AUTH_USER'] and $_POST['PHP_AUTH_PW'] in case register globabls is switched off (if it is, then $PHP_AUTH_USER and $PHP_AUTH_PW won't be set from the form automatically).
Also, it depends on how your passwords are stored in the database - if they are stored in hashed form (ie you store the md5 hash, not the password itself) then you'll need to hash the form input with the md5() function or similar before querying. If you are not storing passwords this way, then you should be!
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';
Please login or register to view this content. Registration is FREE (aka MSN handwriting for forums)
|