Is there a way to be able to select any depth of an array without the use of a switch statement? By this I mean, in the array: $array = array( 'array' => array( 'level1' => array( 'level2' => array( 'level3' => true ) ) ) ); To select level2, I'd use $array['array']['level1']['level2']. Is there a
Almost every time I see people asking for help with security in PHP people always say use bcrypt. Here is my issue, where do I get bcrypt and how do I use it? I've seen phpass, but it gives no instructions on how to use the thing (unless I am missing something?). Can someone explain to me this or po...
So I was going through a tutorial that used the function autoload(). It poorly explained what the function did and the explanation on the php.net manual didn't make to much since either. Can someone explain to me what the the function does and why who its parameters work?
I've already managed to store a hashed password in my web server's database and able to verify it when logging it, but I don't know a good way to go about salting the password. My dilemma is that salts should be random so that hackers can't use one salt for all passwords, but if they are random then...