Archive for the 'PHP' Category



I’m working on a new theme for Wordpress. It’s a generic theme that I hope will make it easier to build multiple business sites in the future. Part of the goal is integrating the Yahoo! YUI library into the superb K2 theme.
I’ve come across a problem that should be easy to solve. Wordpress allows [...]

<rant>VI sucks! It is absolutely driving me crazy. It’s like writing code by smashing your head against the keyboard with a blind fold. </rant>

I’ve been stymied lately by Dreamweaver, my preferred coding program. I still hold onto this program because I know it’s key commands and color coding. However, I’ve been working in a new template system and the internal files have a new file extension.
I don’t know if it is a Yahoo! secret system, [...]

This PHP script came up in a discussion I had today with Jon Whitlock, who’s from the other side of the pond (U.K.) It’s a nifty little regular expression that converts an American date (12/31/2006) into a European date (31/12/2006). It struck me as a neat little snippet that others could probably use.

$date=’12/31/2006’;

print ereg_replace(“([0-9]+)/([0-9]+)/([0-9]+)”,\\2/\\1/\\3,$date); [...]

I am working on a new page and needed to install the XML_RSS PEAR script yesterday on my Dreamhost Account. I tried the customer support and went to their twiki. Dreamhost supplies a basic set of PEAR functions and you have to create a new folder and upload any extras that you’d like to use. [...]




About

You are currently browsing the Advanced CSS Design Resources - last-child.com weblog archives for the 'PHP' category.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.