[PHP-DB] Displaying Password

2009-12-22 Thread Karl DeSaulniers
Hello List, Hope your all ready for the Holidays, I know I am. :) I have a situation where I want to display a users password as bullets instead of the actual password characters once read from the database. I feel there is a better way than what I am doing. I am trying str_replace() with a

Re: [PHP-DB] Displaying Password

2009-12-22 Thread kapuoriginal
Hi, You can't be serious with that. You should try The next code: $UserPassword = str_repeat("•", strlen($UserPassword)); Enjoy. (I hope that you are not a programmer) -- From: "Karl DeSaulniers" Sent: Tuesday, December 22, 2009 6:12 AM To: Sub

Re: [PHP-DB] Displaying Password

2009-12-22 Thread Karl DeSaulniers
Hi Rick, Yes you are correct. I do not store a plan text password. The conversion code is so they cant read the encryption either. If you cant read the encrypted text, you cant decrypt it right? Thanks for your response. Karl On Dec 22, 2009, at 10:54 AM, lists-mysql wrote: This shouldn't be

Re: [PHP-DB] Displaying Password

2009-12-22 Thread Karl DeSaulniers
Thanks for the blunt response. No, I am not a programer yet. Still very novice. I was aware that there was a way to do that, but I am still learning. Thank you for the tip. Karl On Dec 22, 2009, at 11:44 AM, wrote: Hi, You can't be serious with that. You should try The next code: $UserP

Re: [PHP-DB] Displaying Password

2009-12-22 Thread Andy Shellam
Hi Karl, > > Yes you are correct. I do not store a plan text password. Great stuff - so many systems I've seen use plain-text passwords it's little wonder there's so much data theft. > If you cant read the encrypted text, you cant decrypt it right? Wrong. There are two-way encryption method

Re: [PHP-DB] Displaying Password

2009-12-22 Thread Karl DeSaulniers
Hi Andy, Sorry, I guess I should have explained better. I was speaking about what comes up on the preview page for the information. I wanted the passwords to display as bullets so they could not see the encrypted text, nor be able to copy the text and try it in any decryption process if they

Re: [PHP-DB] Displaying Password

2009-12-22 Thread Karl DeSaulniers
Thanks for the tip on the mcrypt. I actually had read up a little about it. I will have to investigate more now. Thanks for the suggestion. Karl On Dec 22, 2009, at 4:54 PM, Karl DeSaulniers wrote: Hi Andy, Sorry, I guess I should have explained better. I was speaking about what comes up on t

Re: [PHP-DB] Displaying Password

2009-12-22 Thread Karl DeSaulniers
I see. Good point. Forgive me with my noob approach. I am creating my first database and I guess I was just thinking of how to get everything to work first then though "well I can't have the passwords be visible". I would probably have eventually came to the same conclusion, so you all may ha

Re: [PHP-DB] Displaying Password

2009-12-22 Thread Karl DeSaulniers
Worked like a charm. Thanks for that. Karl On Dec 22, 2009, at 11:44 AM, wrote: Hi, You can't be serious with that. You should try The next code: $UserPassword = str_repeat("•", strlen($UserPassword)); Enjoy. (I hope that you are not a programmer) -

RE: [PHP-DB] Displaying Password - oy vey...

2009-12-22 Thread Daevid Vincent
> > You can't be serious with that?! LOL. Exactly what I was thinking. W.T.F? http://www.youtube.com/watch?v=pXhKzY0BKwY > > You should try The next code: > > > > $UserPassword = str_repeat("•", strlen($UserPassword)); > > > > Enjoy. (I hope that you are not a programmer) ...and this is why goo

Re: [PHP-DB] Displaying Password - orale...

2009-12-22 Thread Karl DeSaulniers
WOW, thank you for that. Guess I should have kept that question to myself and dove into the manuals a little more, but didn't think I would get crucified for asking help. Everyone has to start somewhere and no one knows everything when they start. I agree that one should get a degree or maaany

Re: [PHP-DB] Displaying Password - oy vey...

2009-12-22 Thread Karl DeSaulniers
Daevid, Just so you know. Your site does not work on a MAC. Definitely not on Safari and your menus on Firefox (but some things work on Firefox) and I don't even use IE since they dropped support, so I wouldn't know. Not sure if your are particular to PC or LINUX. Just FYI. Me.. I am an entrep

RE: [PHP-DB] Displaying Password - orale...

2009-12-22 Thread Daevid Vincent
> Guess I should have kept that question to myself and dove into the manuals a little more, but > didn't think I would get crucified for asking help. Everyone has to > start somewhere and no one knows everything when they start. Let me apologize. I didn't mean to chastise you specifically. That

Re: [PHP-DB] Displaying Password

2009-12-22 Thread Karl DeSaulniers
David, If you ever have a question, don't hesitate to ask. Same to anyone. I may have already ran across the problem and found a solution, who knows. I have a feeling I will have more questions than any of you but I digress.. Thanks for the complement. I try not to get into knock down drag out

Re: [PHP-DB] Displaying Password - orale...

2009-12-22 Thread Karl DeSaulniers
Thanks for the Zend tip Daevid. I did some search and found Zend Studio for MAC 5.5. it's $299, but thats a goal at least. http://www.tucows.com/preview/504387 Best, Karl

Re: [PHP-DB] Displaying Password - orale...

2009-12-22 Thread Karl DeSaulniers
On Dec 22, 2009, at 10:01 PM, Daevid Vincent wrote: Guess I should have kept that question to myself and dove into the manuals a little more, but didn't think I would get crucified for asking help. Everyone has to start somewhere and no one knows everything when they start. Let me apologize