Handy String Methods
5
Random String
9
Fixed the regular expression to check for more strict requirements.
10
Format Bytes
7
mattrmiller
Formats milliseconds into a duration string.
8
Convert a password returned by JPasswordField::getPassword() into a String.
7
Remove newslines from a string.
13
Generate a random number or string in PHP.
12
Allows you to hide all elements on an HTML page by their tag name. Extremely handy in getting around the "Windowless Elements" problem in IE, which is a bug that puts certain elements, most commonly select boxes, on top of any other element, no matter what. As you can imagine, this causes real problems with DHTML drop-down menus and such like. This is the simplest and quickest fix I've come up with, I simply set this function to run alongside the drop-down and all of the select tags vanish before a menu drops, then I run the show function when the menu retracts.
3
Sometimes you need to remove slashes from POST variables which could contain arrays. The standard slipslashes-function only takes a string as parameter.
This function removes slashes from both a simple string and array variable.
This function removes slashes from both a simple string and array variable.
10
Cookie Handle









