Kevin Pajak – Interactive Web Developer/Designer – BLOG

WordPress plugins and widgets

February 16th, 2010

I will make some WordPress plugins and widgets, and already thinking of possibly using them to “plug in” some of the aspects of my app dev work in various capacities, if site requirements call for it or could use it ;) .

David Sylvian Tribute on MySpace

February 16th, 2010

David Sylvian, in addition to having been the lead singer of the ’70s band Japan, has recorded and toured with many top musicians throughout his eclectic career, including avant-garde guitarist Robert Fripp (King Crimson), Ryuichi Sakamoto, guitarist Bill Frisell, tabla player Talvin Singh, and others.

His latest project is called Manafon.

“Maybe I’m attracted to the stories of individuals who search for meaning on their own terms,” says Sylvian. “But what I’m fascinated by is the devotion to a creative discipline. The meaning with which the work imbues the life regardless of its reception and, to a certain extent, its importance.” Sylvian’s search is endless, and maybe quixotic. The fruits of the journey are unknowably rich.

Check out this David Sylvian Tribute on MySpace

Modified a couple of Twitter list titles I follow

February 15th, 2010

Changed the titles of a couple of Twitter lists I follow:

Changed “Web Designers” to Web/Graphic Designers; changed “Social Media” to Social Media/Tech News.

How to replace a backslash character in a string

February 12th, 2010

Ah, so often it’s the little things eh…

PROBLEM: I needed to find a way to “re-process” text a user enters for a live chat client I’m working on (in which I prevented MySQL database injections via the mysqli_real_escape_string function). The problem of course is that the text the user enters nicely protects you from a MySQL database injection, BUT the text then comes back full of backslash (\) characters (not too cool looking huh). So, to remove these, you can use the following code (here, I use the PHP str_replace function:

// Convert escaped characters back to regular text
$string = str_replace("\\", "", $string);

Thanks to Geoff Muldoon for this one!:
How to replace a backslash character in a string?

Expanded incorporation of Facebook Connect

February 12th, 2010

ON THE DOCKET: Expanded incorporation of Facebook Connect via external sites to boost online community involvement and social media marketing exposure (oh, and perhaps even MORE importantly, to play around with the back-end code with apps baby! ;) :p)