Get a List of Folders and/or Files
12
Don't know if anyone will find this handly, but here's a CSS processor that I wrote that allows me to nest CSS Blocks, and various other things, making for an easier to maintain CSS file.
Warning: I'd recommend caching the results since I didn't have a need to optomize it for speed.
Things that it includes:
*Nested CSS Rules
*Removes Whitespace
*Allows for // comments
*Removes comments (so put them in at no cost)
Please let me know what you think
Warning: I'd recommend caching the results since I didn't have a need to optomize it for speed.
Things that it includes:
*Nested CSS Rules
*Removes Whitespace
*Allows for // comments
*Removes comments (so put them in at no cost)
Please let me know what you think
12
Given a PHP array (even a deep nested array), returns a string representation of that array as JavaScript array. Useful when using PHP to output JavaScript.
12
This is a mysql php pager class that I found online somewhere and modified.
11
Enforce loadig fresh script code for the external javascript files. Compatible with HTTP 1.0.
11
Convert an irregular name=value pair string into a formatted array.
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
.
11
The below code will generate a form dropdown for all 12 months, with the current month selected. Handy for those date pickers!
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.
11
If a visitor comes to your site from a search engine such as Google or Yahoo, this function will highlight the keywords in a given text the user used for his search.
11
This only seems appropriate, we were fighting with a similar issue this morning.









