PHP Table Class
26
This is a simple function to generate a random ID of letters and numbers however long you want. All you do is pass it how many parts you want and then how many pieces(chars/numbers) per part you want.
I hope you enjoy
I hope you enjoy
5
Returns an array of folder/file names in the specified path.
13
This little function will split an e-mail address passed to it at the @ sign, and make sure that there is a valid e-mail server at the other end =)
11
This will give you CheckDNSRR functionality in windows.
This function is only natively available in php while running on Linux.
This function is only natively available in php while running on Linux.
10
Here is a pair of function to use in combination. The first one will change newlines into tags to store into a database. The second one does the reverse so you can edit the content of the database without having the tags show when you edit the content. If you can find improvements or have comments please let me know
13
For those times you need to do a loop in PHP, but have the outcome be in descending order (ie, start at 10 and end at 1).
10
The below code will generate a form dropdown for all the days of the month, with today's day selected. Handy for those date pickers!
11
The below code will generate a form dropdown for all 12 months, with the current month selected. Handy for those date pickers!
11
You can use this function to dynamically generate html "width/height" for use with displaying a thumbnail image usingthe original image. This will help save in making dup images just for display as a thumbnail.
It takes two arguments, the path to where the image is stored and the desired width or height.
Please comment or improve this code
.
It takes two arguments, the path to where the image is stored and the desired width or height.
Please comment or improve this code
.
10
A function that will either read a file or read a string, and parse a random line from it. Very simple.









