This repo cotains a collection of methods which are PDO wrappers. Following is the list
databaseConnection($databaseHost, $databaseUsername, $databasePassword, $databaseName)
userRegistration($email, $password, $confirmPassword)
isValidEmail($email)
IsNullOrEmptyString($question)
- Not sure what this doesisUserRegistered($email)
isUserActive($email)
userLogin($email, $password)
sendAuthEmail($email,$mailBody)
-- Very sensitive methoddebugging()
checkNUVEmail($email
)
- All the description of the method(s) are commented in the code itself
- If you want to contribute, you're welcomed, but do not touch the
sendAuthEmail
method, I personally look to that method. - You will require smtp4dev for
testing
sendAuthEmail
method, withoutSynchro's
Workaround, if that also fails you'll have to keep that workaround.