Categories
Announcements php WebApps

Another Hackday Update: PHP unserialize doesn’t quite do it

Wow, I had to use someone’s custom unserialize code because PHP’s unserialize doesn’t quite work multi-byte strings. 🙁 Time wasted: 3 hours.

Here’s the function:

function mb_unserialize($serial_str) {
$out = preg_replace(‘!s:(\d+):”(.*?)”;!se’, ‘”s:”.strlen(“$2″).”:\”$2\”;”‘, $serial_str);
return unserialize($out);
}
Categories
Announcements php WebApps

Update on the WordPress Dev2Live Hackday

I know the bare minimum of what has to change in a WordPress install. Code that gets me the tables, and shows me the serializeable data in WordPress’ option settings is done.

Categories
Announcements php WebApps

A WordPress Hackday

Today, I’m going to explore looking for a solution for staging WordPress from a development environment to a production one. I’ll be posting throughout the day as “hacks” become available.

The main issue is changing serialized dev data into production data.

I’ll be in irc.freenode.net #wpdev2live .

Categories
Announcements TechBiz WebApps

Gearing Up For HackDay At Yahoo on September 12th

picture of hackday at yahoo

I just signed up for HackDay at Yahoo, which will bring together a lot of cool people in the industry.

I’m hoping to just spend the day and talk to folks about what’s inspiring them lately.

Comment below if you’re going. Also share with me and the folks commenting what you’re hoping to solve or build.