Proper Paragraphs
13
I needed to send an email through an authenticated SMTP server. I found the snippet on the PHP website to do the trick.
13
Generate a random number or string in PHP.
-11
Is String Empty
-4
Is String Numeric
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.
15
A small recursive php function to determine the size of a directory by adding all it's contents together and returning them as an integer.









