Thanks. Salt is what I mean. Not sure why I said seed.
--------------- Added [DATE]1377819932[/DATE] at [TIME]1377819932[/TIME] ---------------
Here is my problem. This is not a real salt but it shows the special characters I am running into. I changed the alphanumeric characters.
6K)Gf"Y@LqQs|{N_ 6K)Gf"Y@LqQs|{N_ 0 [49]
This is what I see in phpMyAdmin and when I print_r($res) of the particular record I testing with.
What I get with the below code:
Code:
$userhash = $res[0]['hash'];
is this output: 6K)Gf"Y@LqQs|{N_
It seems almost like something changed in PHP because if something funky is in the hash character wise, the string is getting chopped. Is there a way around this?
--------------- Added [DATE]1377820593[/DATE] at [TIME]1377820593[/TIME] ---------------
To explain what I am after, I want to set up a licensing site where the members login to the website using the same credentials as they use in the forum, but still a separate login, that is not sharing sessions. However, the above problem is stopping me and has me stumped as to what is causing PDO to chop part of it. Do I need to set a character set or something in the database?