help with password by email script

alleyesonme <[email protected]> 30 Jul 2003 02:08:58 -0000
Newsgroups gmane.comp.web.oscommerce.suggestions
Message-ID <778134273f018a96c5e3ae5beca75dfa@osCommerce-Forums>
This message was sent from: Suggestions and Proposals
http://forums.oscommerce.com/viewtopic.php?p=204106#204106
----------------------------------------------------------------

hi guys, im running 2.2 ms2, i have installed the script for randomly generated password on signup, however after a lot of head scratching hair pulling and searchin im struggling, it send the password out which is fine but no password is generated so its just blank ????

i believe this is the code that generates the password? 

$email_text .= EMAIL_WELCOME . EMAIL_USERNAME . 'Your password is: <b>' . stripslashes($plain_pass) . '</b>' . "\n\n" . EMAIL_TEXT . EMAIL_CONTACT

what is stripslashes? any help would be much appreciated, oh btw once an account is created and email sent without the password, u can however goto forgotten password and this sends a new random one out, but i believe the forgotten password is a diff script.

cheers