I just put my project from localhost to my host and using the same (phpass) function I receive different results and the length of the returned string is also different. (and everything works on localhost btw)
So the same function returns false when online. I was wondering what the problem might be.
Here's the result:
Input: 12345
- localhost:$2a$08$t5joFUIbEThylj/IyUVy7.WzMZm8fmKjsy0kZc/YxgqzkbYQWnlre
- host: $P$9QiKVfJzpRzoToBCJg8FeaDIfcAJJ61
EDIT: I switched on the TRUE flag to make password portable but still it doesn't seem to work.
EDIT 2: Doesn't work with php 4 or 5 and I DID switch on the portable mode!!