How-to: FFmpeg, FFmpeg-PHP, Lame, Libogg, Libvorbis, FLVtool2, Mplayer, Mencoder, AMR

Tagged: Ubuntu Date: 8th, February 2009

This howto is written for Ubuntu 8.10 and is verified to work on 8.2.2009.
I found numerous tutorials on this subject out there but they all failed me, but combination of them all was successful. So fallowing is made from 10 different tutorials.
And for all those who will ask why not just apt-get php5-ffmpeg, answer is [...]

Ferdinand.PhotoTag – Facebook like photo tagging

Tagged: Ajax, JavaScript, PHP Date: 22nd, December 2008

I have just released very simple photo tagging solution. It works much like Facebook tagging and requires Prototype and optionally PHP5/MySQL (you can always make backend from scratch in any lang/db you wish… it requires novice skills).
Tested in Firefox, IE6+, Safari and Chrome.
Here is the link: http://ferdinand.rs/javascript/ferdinandphototag

Ferdinand.Slider – Javascript news slider

Tagged: Ajax, Database, JavaScript, Programming, Wordpress Plugins Date: 9th, December 2008

Moved
Go to new addres >>

location.href=”http://ferdinand.rs/javascript/ferdinandslider”;

Simple PHP error handling

Tagged: PHP, Programming Date: 28th, November 2008

Here is a very simple way of custom handling php errors.
To use code below, apart from including it in your functions file, you will need to call function display_debug(); at the end of every page (assuming you wish to display debug on every page).
Nifty feature is that you don’t have to worry about turning off [...]

Sort multi dimensional array

Tagged: PHP, Programming Date: 18th, November 2008

/*
* Sort multi dimensional array
*
* @author Vladimir Cvetic < vladimir[ at ]ferdinand.rs >
* @param $a array Array you wish to sort
* @param $index mixed Value of the key by wich you wish to sort
* @param $order string Sort direction
* @param $natsort bool Natural sorting true or false
* [...]