Below are the top ranked snippets.
7
Just a quick way to write out an alphabetical list. Useful for menu systems.
17
Database Class with quick connectivity and useful database functio
10
Retrieve, delete, view count of pop3 email.
Please download the pop3 class file here first:
http://www.fileden.com/files/2006/10/24/314941/pop3.class.inc
Many uses!!!!
Please download the pop3 class file here first:
http://www.fileden.com/files/2006/10/24/314941/pop3.class.inc
Many uses!!!!
16
Ok, another thumbnail PHP function. This function support resize of JPEG and GIF, and resize with aspect ratio (set $THUMBX=0 if you wish it is resized with the Height, $THUMBY=0 if blah blah blah, you get the point)
4
Simply cut and paste this script into the tags of your page, and add the part in blue into inside of your body tags. Be sure to edit the text that will scroll!
6
A simple tool used for fast Exponentiation. Very useful if you are creating your own cryptograpgic methods.
7
A simple tool used for fast Exponentiation. Very useful if you are creating your own cryptograpgic methods.
8
I like to have these two methods in my toolbelt, even though it's syntactic sugar, I think it aids clarity.
9
Rather than have standalone functions rtrim, ltrim, and trim (as in http://www.bytemycode.com/snippets/snippet/397/) why not have them as methods of all string objects?
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









