|
|
|
-12
This is a quick and easy method to generate a somewhat random password. This simply generates the MD5 hash for the integer returned by the time() function and then truncates it to the specific length.
11
Function that splits a given string into sections based on the allowed length for a section. Does not split words up. Splits string on Space character (can be set to another character)
3
Celebhir
Takes a given directory and lists all the files and folders under it, including sub folders. Resulting array contains associative (folders) and indexed (files) elements. Doesn't return "." and ".."
4
Celebhir
This function takes a directory, and a "folder" search parameter.
If it finds the directory (either in single level, or any sub folder) it will return the relative path of that folder. "FALSE" if not found. Skips over files and "." and ".." directories. Recursive by default.
If it finds the directory (either in single level, or any sub folder) it will return the relative path of that folder. "FALSE" if not found. Skips over files and "." and ".." directories. Recursive by default.
4
This function tries to locate a file in a give folder (either single level, or in any sub folder). Returns the relative file and path, or FALSE if not found. Skips over "." and "..".
3
ChronoFish
Here is a my latest refinement of an XML2Array function. It creates an associative array where tags are the keys. When tags have attributes, it becomes part of the key (optionally). The values of the resultant array is itself an array of values OR another XML2Aarray array.
- Enjoy
- Enjoy
4
This php script provides a unique random key with 32 characters and can be used to avoid the system to pass some primary keys across the url, by example.
4
One of the simlest way to include a php file using absolute path
4
This simple script can be used to get the script filename and extensio
7
Two very usefull functions to have around.
(note: dollarfy requires commify to work)
(note: dollarfy requires commify to work)







