Welcome Guest, Not a member yet? Register   Sign In
mail() is broken inside codeigniter?
#3

[eluser]Dave332[/eluser]
Thanks for your quick reply.

get_user_by_username() returns a db->query->row_array() result.

The problem I'm getting is that the mail() function returns false, and the password is never updated. I also do not receive an email.

The password is not actually stored as a string, but is hashed by another function (inside Usermodel::update() ), so I don't have to write hashing into every function that changes the password.

Edit: whoops, you're right, I forgot to hash the input in this function, thanks for catching that. Still doesn't get updated, though :-(


Messages In This Thread
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 12:41 AM
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 01:17 AM
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 01:25 AM
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 01:36 AM
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 01:42 AM
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 01:45 AM
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 02:06 AM
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 02:07 AM
mail() is broken inside codeigniter? - by El Forum - 03-03-2009, 02:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB