RE: [PHP-DB] password in md5 to connect to mysql instead of clear password

2005-02-25 Thread Bob Sherer
never appears in code. I don't know a thing about unhashing MD5 encrypted strings. Sorry I can't help you there. But, it sounds like you've already found that info. Good luck, Bob Sherer -Original Message- From: Jon-Eirik Pettersen [mailto:[EMAIL PROTECTED] Sent: Thursda

[PHP-DB] Pear DB and DB_DataObject : recommended?

2004-08-31 Thread Bob Sherer
Howdy. The question: How commonly accepted and recommended are the PEAR packages DB and DB_DataObject? Anybody have some warnings or encouraging stories from projects done with these php enhancement packs? I'm about to get started on a php and postgreSQL project that is starting from scratc

[PHP-DB] RE: Session Values Change

2004-07-28 Thread Bob Sherer
Jacob, Here is my solution. At the top, it checks to see if you are passing a new name via a querystring. If not, it checks to see if a name is present in the session yet. If not, it initializes the session to "Jacob". It puts the session's value into the variable $view. If you passed a name

[PHP-DB] RE: What's wrong with this QUERY?? - Thanks all.

2004-07-23 Thread Bob Sherer
Harmeet, The field email is obviously a field that can accept strings. In SQL, you must wrap strings in single-quotes. So, rewrite your query as: $query = "SELECT id, email, familyname FROM members WHERE email='$thing'"; The reason it worked for id=$thing is that the id field is probably an i