These two functions will convert an RGB color to a hexadecimal, or convert a hexadecimal to RGB.
This function will take HTML input, and color code it for readability.
Highlight Full Matches & Substring Matches from Re
http://phpsnips.com/75/Highlight-Full-Matches-&-Substring-Matches-from-Re
Handy reusable database object
I’m tired of typing the same stuff over and over. So I spend alot of time writing reusable code. No matter if it’s just simple methods or abit more complex objects. Here’s the database object I just wrote. It’s versatile and it really doesnt restrict you to follow any special rules except what objects already restricts you to. You can decide for yourself if you want to complete the query statement or make prepared statement in a valid vsprintf() format.
Hitcounter with digits(images)
A hitcounter with images: [IMG]http://ionut.net63.net/IMG/0.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/1.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/2.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/3.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/4.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/5.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/6.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/7.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/8.bmp[/IMG] [IMG]http://ionut.net63.net/IMG/9.bmp[/IMG] Copy all in a folder called IMG and put the folder in the same directory as the script you also need to create a file called "counter.txt" and put it into the same directori with the script (NOT in IMG)
Hitcounter with digits(images) (working version)
A hitcounter that uses numbers(0.bmp,1.bmp....9.bmp) To display unique visits
http://phpsnips.com/173/Hitcounter-with-digits(images)-(working-version)
This script enables users/you to get the hash from a file using any hashing algorithm that is included in php and also enables you to verify that it is the same hash as the one you provide. This is useful if you download a file from a site that provided a hash and you want to check if it downloaded successfully.