'PHP Code' Category

August 20th, 2007

Convert RGB colors to Hex

Most web developers are quite comfortable using CSS to stylize their websites. But oftentimes they will design (or have designed) a template in Photoshop before creating the HTML template. Sometimes it can be a real headache to convert the RGB colors to the proper hexadecimal values for use in CSS.

August 7th, 2007

How to create an image from text with PHP

At some point or other, pretty much every web developer has wondered if there's an easy way to create an image from a text variable in PHP. There are many potential uses for this, the simplest of which being aesthetics. A heading rendered as a JPEG or GIF can make use of anti-aliasing for the [...]

July 17th, 2007

LDAP authentication with PHP

One of the most common areas of functionality in any web application is the use of authentication. Basically it's away of allowing your users & visitors to register, and then have permission-based access to certain tools and data. There are many ways to implement this, but why re-invent the wheel?

July 11th, 2007

How to add a color picker to your PHP application

Using a color picker is a very common tool. After all, who can remember RGB and HEX codes for colors anyways? With sites becoming as application-like as they are, you may be in the situation that you need to add a color selection tool, or color picker to your own site.

June 26th, 2007

Edit MySQL database tables with PHP and AJAX

Every week I look at the PHP Classes newsletter to see if there are any cool new submissions. This one is perhaps the most exciting and promising that I've seen in a while!

« Previous PageNext Page »