Archive | PHP

RSS feed for this section

Elgg 1.8 Tidypics Group Fix

I’m creating a new community site using the Elgg 1.8 platform, but a lot of the widgets are still using the old 1.7 CSS for their displays so it means a lot of fixing. The existing tidypics/views/default/tidypics/groupprofile_albums.php suffers from this problem but is simply fixed by changing <?php /*********************************************** * * This is used on […]

Read full story Comments { 1 }

Unique Article Wizard needs strip slashes!

I’m playing about with the Unique Article Wizard plugin for WordPress (for a friend, not for this site!!!) and there’s an obvious problem where all of the articles need their slashes to be stripped. It looks like a serious case of magic quote paranoia! A look at the plugin code makes article_mods.php the obvious candidate […]

Read full story Comments { 0 }

Atom feeds with PHP 5 Dom and XSL

All blogs require silly amounts of feed generators, right? And this is a silly blog so requires a silly generator. The entire site is written using PHP5, and my automagic ‘datahandler’ activepage concept creates an XML document using DOM that then uses XSL as a templating engine, so I figured it wouldn’t be too hard […]

Read full story Comments { 0 }

PHP Java Bridge in Ubuntu Gutsy with Lucene

The php/java bridge it a pretty awesome little protocol that basically lets us use java classes inside our own PHP applications! This lets you harness the awesome power of all the Java libraries that exist, including the popular Lucene search engine library. I referenced two excellent blog entries here and here whilst implementing Lucene search […]

Read full story Comments { 0 }