You are browsing the archive for 2009 January.

Buzzword of the Day: Scriddie

January 23, 2009 in Buzzword of the day

Yep another delightful new word you can add to your dictionaries. Today’s Buzzword of the day is: Scriddie Taken from the conjoined words Script and Kiddie. For more info on Script Kiddie check out Urban Dictionary Thanks go to DarkFlib of #mysql on Undernet for giving me this lovely buzzword

php: processing raw Post / Get Values

January 21, 2009 in PHP

I just added a jquery plugin to call head requests, but because you are not doing a get or post request php won’t convert the values that are sent back to their form. To get around this we have to use the php://input stream ( is that the right word?) which is handy for a [...]

Buzzword of the Day: Conflumoxification

January 21, 2009 in Buzzword of the day, General

i declare Today’s Buzzword of the day: Conflumoxification Definition: The process through which a person or persons can be lead into a state of confusion by factors controlled by a 3rd party

jQuery plugin: ajax Head Request

January 21, 2009 in jQuery Plugins

I recently looked into the head request for pulling data without much overhead. PHP can send headers out to the browser in a response.. so I looked into a way to get these headers. I came across a page that outlined using head requests via the xmlhttprequest object. I looked inside jQuery for this functionality [...]

Buzzword of the Day: Hijax

January 13, 2009 in Buzzword of the day, Web Development

Came across this today: being 01:58 on Wednesday January the 14th 2009 .. i declare Today’s Buzzword of the day: HIJAX Basically when you replace links in a page to perform ajax instead and update content instead of refreshing, that’s Hijax. Visit http://domscripting.com/blog/display/41 for more info

php: smarty assign content plugin

January 12, 2009 in Smarty

I needed to assign a block of content to a variable instead of just a value.. so i set about creating this plugin function smarty_block_assign_content($params, $content, &$smarty) { $smarty = clone($smarty); //Copy the original class, so there's no garbage variables after we finish if(!isset($content)) return; if (!isset($params['var'])) { $smarty->trigger_error("assign_content: missing 'var' parameter", E_USER_WARNING); return; } [...]

php: Menu Classes

January 12, 2009 in PHP

Recently I’ve been working on my own framework (we’ve all done it i’m sure) and part of this was a menu handling system. The basis really is simple, we have a menu item which really is just link and text. That menu item could have children, could be active and/or be selected. In this case [...]

php: Insert element at specific Index of Array.

January 11, 2009 in PHP

In a recent project I’ve been undertaking I’ve made a menu class set and sometimes i just wanted to say to add this to an array, but in a certain position. PHP does this easily via $array[position] = "newdata"; But unfortunately this is not so good if you only wanted to insert the newdata into [...]

Review: City of Ember

January 9, 2009 in Movies

Oh look, I’ve watched another film. This time it’s “City of Ember“. As Before my review may contain spoilers

Review: Ghost Town

January 8, 2009 in Movies

Recently I got ot watch Ricky Gervais star in a film called “Ghost Town”. Generally I don’t particularly like his comedic style but I thought I would give it a try, so I sat down in front of my xbox and watched it. Be warned this might contain spoilers