Forum Moderators: coopster
I need help on the following please:
Ok first of all I use GD2.0 to append an image to the bottom corner of another image - to kind of tag it... this dramatically decreaces the qiality for some reason! I was told it was because of anti aliasing? or something? If anyone could advise me on how to turn anti-aliasing on/off (whichever one it needs to be to improve quality) then please do! :)
Another thing
I have a MySQL db full of users... their usernames, there passwords, their emails. How can I make a form to email them a password out of the mysql db? kind of like a forgotten password feature... I want them to be able to type in a username OR email address, and it sends their password to them, on the email listed in the database!
Thanks guys,
would much appreciate your help
Antialiasing - check [be2.php.net...]
As far as forgotten passwords go, I usually generate a new, random password and UPDATE the database with it just before I email it to them. This is because I use md5() [php.net] when I store it in the database table. If you sent this to your user in it's hashed state, it won't work when they try to logon. And no, you cannot get the *real* password back once it has been run through this function. Make sense?