Re: Displaying Password - orale...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 hours of work behind them before entering the world and taking jobs, but at least I am asking for direction and help to become the wonderful programer you already are.


Karl  (I'm the guilty party, but not a hack)

PS: if it makes you feel any better, I am making this for myself and I do not have "lead programer" on my CareerBuilder profile.



On Dec 22, 2009, at 7:39 PM, Daevid Vincent wrote:

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 good programmers can't find jobs in the sea of bad
programmers. Everyone puts "LAMP developer" or "PHP developer" on their resume, but there is a HUGE difference between knowing syntax (i.e. below example) and UNDERSTANDING a language (above example). Recruiters don't know the difference and the resume with the most buzzwords gets chosen, and the poor company is burdened with testing each candidate (this assumes they
known enough about the language themselves to test someone), but more
likely, sucky-coder gets paired up with ignorant-company and hence we have
horribly buggy bloated programs to use. *sigh*

It's up there with people that do this kind of excessive crap:

	if ($foo == true)
	{
		$bar = 5;
	}
	elseif ($foo == false)
	{
		$bar = 6;
	}

When a simple:

	$bar = ($foo) ? 5 : 6;

Would do the trick.

I have often wished there were licenses required to code. You need a
license to drive a vehicle. You need one to operate machinery. Why is it that someone needs a license to cut my hair even (which will grow back in a worst case scenario)? But yet the things we rely upon every day to keep our homes, offices, phones, cars, web and cities functioning can be coded by any hack with access to a computer? One doesn't even need a degree or any
schooling! It's absolutely absurd.

--------------------------------------------------


$replaceArray = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't',
'u', 'v', 'w',
'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');
$replaceWith = array

('.','.','.','.','.','.','.','.','.','.','.','.','.','.','.','.','.',
'.'

,'.','.','.','.','.','.','.','.','.','.','.','.','.','.','.','.','.',
'.'
);
$UserPassword = str_replace($replaceArray, $replaceWith,
$UserPassword); //hide pasword

[names removed to protect the guilty]


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Karl DeSaulniers
Design Drumm
http://designdrumm.com


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux