Ensures that a user name contains only characters a-z, and is inserted in the database as lowercase.
general::cleanUserName($userName)
Parameters | |
| UserName | The login name to clean |
Strips all characters between a given ascii range.
general::getCleanStringBetweenASCII($stringIn, $ascii_bottom, $ascii_top)
Parameters | |
| StringIn | String to strip characters from |
| Ascii_bottom | Bottom of the ascii range (lower range): all characters >= this value will remain |
| Ascii_top | Top of the ascii range (upper range): all characters <= this value will remain |
Gets all questions from the table "login_question".
general::getQuestions()
Parameters | |
| None |
Gets the selection box for the login questions.
general::getQuestionsSelectBox($selected)
Parameters | |
| Selected | Sets the default question to be selected |
Gets 3 boxes (mm/dd/yyyy).
general::getBirthdayBox($timestamp -)
Parameters | |
| Timestamp - | Assigns the unix timestamp of the default selected boxes (default is today) |
Gets unix timestamp to format m/d/Y.
general::getDateFormatted($timestamp)
Parameters | |
| Timestamp | Unix timestamp to convert to string in format m/d/Y |
Deletes a header image that is no longer in use from the../images/banners folder.
general::deleteHeaderImage($filename -)
Parameters | |
| Filename - | Filename of image to be deleted |