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

2009-12-23 Thread Andy Shellam
Hi Karl,


 
 I did some search and found Zend Studio for MAC 5.5.
 it's $299, but thats a goal at least.

Just so you know I fully empathise with both yours and Daevid's situation - 
you'll probably find a lot of people on this list are in the same boat, as am I.

Anyway just a hint - I bought my first Mac in September and I'm never turning 
back but that's a conversation for another day.  The one thing I thought was 
missing that I couldn't match on Windows was a decent IDE - for both PHP and 
C++ (my two main freelancer languages.)

However someone on this list pointed me in the direction of what I thought was 
a Java IDE - NetBeans.  It turns out it's a damned-fine C++ and PHP editor.  It 
handles code completion of LARGE projects (4,000+ files) ten times faster than 
others - Zend Studio and Eclipse, and Komodo for instance.

Plus it's free :)

http://netbeans.org/features/php/index.html

I used Zend Studio when it was a stand-alone Java application then switched to 
PhpEd but unfortunately that's Windows only.  I've also tried Eclipse but 
couldn't get to grips with it.  However I feel NetBeans is such a stronger 
contender than any of these - straight from the word go I just got on with it.

Re: the certification - I'm looking at doing a Zend course next year for 
nothing more than to try and get PHP recognised as a professional skill - I've 
been programming in it since 2002.  I don't know of any other companies that do 
PHP qualifications, but as Zend is the PHP company anyway they probably mean 
more :P

Hope this helps you anyway.

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



[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 for loop to loop throuth how many characters and  
replace each with a bullet when displaying.


Like this:
$replace_count = strlen($UserPassword);

for ($i=0; $i  strlen($UserPassword); $i++) {
$UserPassword = str_replace('a', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('b', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('c', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('d', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('e', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('f', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('g', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('h', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('i', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('j', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('k', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('l', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('m', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('n', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('o', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('p', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('q', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('r', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('s', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('t', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('u', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('v', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('w', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('x', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('y', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('z', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('1', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('2', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('3', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('4', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('5', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('6', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('7', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('8', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('9', '#8226;', $UserPassword,  
$replace_count);
$UserPassword .= str_replace('0', '#8226;', $UserPassword,  
$replace_count);

} //hide pasword

But I keep getting a paramiters error for str_replace.

Warning: Wrong parameter count for str_replace() in blah, blah, blah

Doesn't strlen return a number value?

Thanks in advance.

Karl DeSaulniers
Design Drumm
http://designdrumm.com



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(#8226;, strlen($UserPassword));

Enjoy. (I hope that you are not a programmer)

--
From: Karl DeSaulniers k...@designdrumm.com
Sent: Tuesday, December 22, 2009 6:12 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Displaying Password


Never mind.
Got it.

$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

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com




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



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 an issue as you should *never* be storing a user's
password in plaintext in the first place.

When a password is first set, encrypt it. If a user needs a new
password, send a password recovery url to the email address on file
(or some other like-minded approach).

- Rick

 Original Message 

Date: Monday, December 21, 2009 11:12:48 PM -0600
From: Karl DeSaulniers k...@designdrumm.com
To: php-db@lists.php.net
Subject: [PHP-DB] Displaying Password

Never mind.
Got it.

$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

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com



 End Original Message 




Karl DeSaulniers
Design Drumm
http://designdrumm.com



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, kapuorigi...@gmail.com  
kapuorigi...@gmail.com wrote:



Hi,

You can't be serious with that. You should try The next code:

$UserPassword = str_repeat(#8226;, strlen($UserPassword));

Enjoy. (I hope that you are not a programmer)

--
From: Karl DeSaulniers k...@designdrumm.com
Sent: Tuesday, December 22, 2009 6:12 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Displaying Password


Never mind.
Got it.

$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

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com



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



Karl DeSaulniers
Design Drumm
http://designdrumm.com



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 methods requiring the use of a common key, 
and an initialization vector for some protocols - see the mcrypt library which 
PHP can use (I had a play around with it quite recently.)

http://uk2.php.net/manual/en/function.mcrypt-decrypt.php

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



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 happened to get

to that page where the information can be displayed.

Karl

On Dec 22, 2009, at 4:49 PM, Andy Shellam wrote:


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 methods requiring the use of a  
common key, and an initialization vector for some protocols - see  
the mcrypt library which PHP can use (I had a play around with it  
quite recently.)


http://uk2.php.net/manual/en/function.mcrypt-decrypt.php

Regards,
Andy


Karl DeSaulniers
Design Drumm
http://designdrumm.com



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 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 happened to get

to that page where the information can be displayed.

Karl

On Dec 22, 2009, at 4:49 PM, Andy Shellam wrote:


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 methods requiring the use of  
a common key, and an initialization vector for some protocols -  
see the mcrypt library which PHP can use (I had a play around with  
it quite recently.)


http://uk2.php.net/manual/en/function.mcrypt-decrypt.php

Regards,
Andy


Karl DeSaulniers
Design Drumm
http://designdrumm.com



Karl DeSaulniers
Design Drumm
http://designdrumm.com



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 have saved me a load of unnecessary work.
But thank you for the tips on string conversion.
Every little bit helps.

Karl


On Dec 22, 2009, at 4:58 PM, lists-php wrote:


correct. if they can't see the encrypted value it's harder to try to
decrypt it but ... there's no reason for the encrypted value to be
in public view in the first place.

when a user enters their password you pass that to your back-end
where you encrypt it and test it against the one-way hash that's
stored in your db. if it matches, fine, if not you reprompt/reject.
but throughout, the stored hash never sees the light of day and the
hash of what the user enters is only in the back-end. there's no
reason for any version of a password (user-entered string, hash of
user-entered string, hash of stored pw) to be on any page that a
user can view (rendered or source). that being the case, there's no
need to be playing obfuscation games.

if you have a preview page and you don't want the user to see any
version of the pw there, then don't put it there. if you convert it
to some form of blanking, then there's nothing for them to preview
anyway, so don't waste the effort.

- Rick



 Original Message 

Date: Tuesday, December 22, 2009 04:40:22 PM -0600
From: Karl DeSaulniers k...@designdrumm.com
Subject: Re: [PHP-DB] Displaying Password

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 an issue as you should *never* be storing a
user's password in plaintext in the first place.

When a password is first set, encrypt it. If a user needs a new
password, send a password recovery url to the email address on
file (or some other like-minded approach).

- Rick

 Original Message 

Date: Monday, December 21, 2009 11:12:48 PM -0600
From: Karl DeSaulniers k...@designdrumm.com
To: php-db@lists.php.net
Subject: [PHP-DB] Displaying Password

Never mind.
Got it.

$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

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com



 End Original Message 




Karl DeSaulniers
Design Drumm
http://designdrumm.com



 End Original Message 




Karl DeSaulniers
Design Drumm
http://designdrumm.com



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, kapuorigi...@gmail.com  
kapuorigi...@gmail.com wrote:



Hi,

You can't be serious with that. You should try The next code:

$UserPassword = str_repeat(#8226;, strlen($UserPassword));

Enjoy. (I hope that you are not a programmer)

--
From: Karl DeSaulniers k...@designdrumm.com
Sent: Tuesday, December 22, 2009 6:12 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Displaying Password


Never mind.
Got it.

$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

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com



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



Karl DeSaulniers
Design Drumm
http://designdrumm.com



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(#8226;, 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



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 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(#8226;, 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



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 entrepreneur and don't have a lot of money,
so I must learn things on my own to keep my business growing.
Would love to go get the degree, but that is some time away.
In the mean time I have to get this created.
Just out of curiosity, does my site work on your system?
Also, I saw some of the things you worked on. Nice work.
(I see your serious about your recruiter comment now)
Do you have a suggestion where I can get PHP/MySQL certified?
or a good dummies book?

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com



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 is why I
removed the names from the email. And I also did jump in late to the
thread, I was under the impression that the big block of code was what
someone else had suggested as a solution to an OP's question. I didn't
realize it was your code you were trying to ask the list about.

 Just so you know. Your site does not work on a MAC.

It actually does work on a Mac, just not in Safari ;-)

I'm aware of this, and unfortunately, it's a defunct JavaScript library
that is causing the issue. The library to do those fancy windows is all
written in German and then minified, so debugging it is just a nightmare I
don't have the time or care to dig into for a browser that is 4% of the
market ( http://marketshare.hitslink.com/browser-market-share.aspx?qprid=0
)

 Definitely not on Safari and your menus on Firefox (but some things work
on Firefox)

All of it should work in Firefox. I use Firefox on Ubuntu and XP (as well
as IE6, IE7 and IE8)
What doesn't work in Firefox on the Mac?

 Not sure if your are particular to PC or LINUX.

Yes, I am. I bought a Dell Mini9 and hackintoshed it since several
friends/fanboys of mine kept extolling the virtues of the mighty OSX. I
really WANTED to like OSX. But aside from looking pretty, I found it too
dumbed down for me. I like more control over my OS, and when I press the
'DEL' button on a file, well, it damn well should 'DELete'. ;-)

 Just FYI.
 
 Me..
 I am an entrepreneur and don't have a lot of money,

As am I.

 so I must learn things on my own to keep my business growing.

Understood and empathize.

 Would love to go get the degree, but that is some time away.
 In the mean time I have to get this created.
 Just out of curiosity, does my site work on your system?

I believe so. It loads and does a few things. Not sure how much is
completed or not to say what it's supposed to do or not do...

 Also, I saw some of the things you worked on. Nice work.

Thank you.

 (I see your serious about your recruiter comment now)

Yes. They bug the shit out of me.

 Do you have a suggestion where I can get PHP/MySQL certified?

I've never been to one, but Zend offers courses that may be worth checking
into.

 or a good dummies book?

I find the php.net site to be the absolute best source of examples and
information.

d


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



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 outs  
on email lists.

I save that for the bars :))  Besides, I feel their pain.
So many people think they can build flash sites (that is what I do)  
and I miss out on a lot of jobs because like many,
I have relied on placement agencies. Another reason why I am building  
this.  ;)


Blessings to you,

- Karl DeSaulniers

The best people in the world are the ones who help each other make  
it turn. After all, where all here together.



On Dec 22, 2009, at 10:16 PM, David McGlone wrote:


On Tuesday 22 December 2009 18:05:57 you wrote:

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 have saved me a load of unnecessary work.
But thank you for the tips on string conversion.
Every little bit helps.



Hi Karl,

I was wondering, since you are new at programming PHP/MySQL, maybe  
you and I
could learn together. I've been learning for a little over a year,  
and just

thought it might be helpful.

By the way, you handled yourself well when some of them started  
flaming you and

don't let them discourage you.

--
Blessings
David M.
I have been driven to my knees many times by the overwhelming  
conviction that

I had nowhere else to go.


Karl DeSaulniers
Design Drumm
http://designdrumm.com



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.


Accepted. :)


I didn't mean to chastise you specifically. That is why I
removed the names from the email. And I also did jump in late to the
thread, I was under the impression that the big block of code was what
someone else had suggested as a solution to an OP's question. I didn't
realize it was your code you were trying to ask the list about.


No problem, I enjoy blunt answers to questions. I've had enough  
sweets in my life, I dont need anymore sugar coating.
Just caught me off guard. And yes unfortuantely, that was my code.  
But that is why I'm here ;)





Just so you know. Your site does not work on a MAC.


It actually does work on a Mac, just not in Safari ;-)

I'm aware of this, and unfortunately, it's a defunct JavaScript  
library
that is causing the issue. The library to do those fancy windows is  
all
written in German and then minified, so debugging it is just a  
nightmare I
don't have the time or care to dig into for a browser that is 4% of  
the


You sure about this number, I mean there is now safari on all iPhones  
as well and they have a BIIIG market.

No matter.

market ( http://marketshare.hitslink.com/browser-market-share.aspx? 
qprid=0

)

Definitely not on Safari and your menus on Firefox (but some  
things work

on Firefox)

All of it should work in Firefox. I use Firefox on Ubuntu and XP  
(as well

as IE6, IE7 and IE8)


IE does not love us MAC people anymore, boo hoo  :P
Nothing ever worked in it when it was on MAC anyways, so goo ridden.
Hell, its one of the only browsers I know that HAS to have special  
code written (in almost any dynamic site)
that will make it work on IE. Too much work to do for a silverspoon  
application.
I would rather force people to download Firefox or Safari. (On my own  
projects of course)



What doesn't work in Firefox on the Mac?



The menus were the worst thing when I looked in Firefox, but the main  
panels and the nav to the left worked.

It was the top that was a little screwy. Might have been a CSS thing.


Not sure if your are particular to PC or LINUX.


Yes, I am. I bought a Dell Mini9 and hackintoshed it since several
friends/fanboys of mine kept extolling the virtues of the mighty  
OSX. I
really WANTED to like OSX. But aside from looking pretty, I found  
it too
dumbed down for me. I like more control over my OS, and when I  
press the

'DEL' button on a file, well, it damn well should 'DELete'. ;-)


Well you can do that by pressing the apple button + delete.




Just FYI.

Me..
I am an entrepreneur and don't have a lot of money,


As am I.


so I must learn things on my own to keep my business growing.


Understood and empathize.


Would love to go get the degree, but that is some time away.
In the mean time I have to get this created.
Just out of curiosity, does my site work on your system?


I believe so. It loads and does a few things. Not sure how much is
completed or not to say what it's supposed to do or not do...


Also, I saw some of the things you worked on. Nice work.


Thank you.


(I see your serious about your recruiter comment now)


Yes. They bug the shit out of me.


If you want them to stop. Call them every day about jobs.




Do you have a suggestion where I can get PHP/MySQL certified?


I've never been to one, but Zend offers courses that may be worth  
checking

into.


or a good dummies book?


I find the php.net site to be the absolute best source of examples and
information.\


I do concur.

Best,


Karl DeSaulniers
Design Drumm
http://designdrumm.com