CentOs Repositories
It took 6 or more to get working executable in Centos. Main reason is the precomplied packages seem not supporting the x264 codec.
There is no official yum packages for ffmpeg or x264. There is a additional repository in /etc/yum.repos.d/Centos-Base.repo called centosplus, which is not activated. The postfix is for example complied with postfix in that repo. They suggest minimal usage of this repo. I cant be sure. Because main stream packages are too old. When did php 5.2 was released? How cant they provide? I think they solidate operating system at a point to make techpeople be aware of bugs, and many other compability issues.
I strongly suggest use of rpmforge repo. Or you can take joy of complying programs by your your self.
Similar
New technique to win olimpics
At the 1968 Olympics, Dick Fosbury took the athletics world by surprise with an unusual high-jump technique.
Printing mysql_error
This is a code snipped to print mysql error.
If there is no error mysql_error returns null, thus if evaluates false and there is no output.
multiple ON DUPLICATE KEY UPDATE
Here is an example of how to update multiple columns using values supplied in the INSERT statement. This assumes that column 'a' is the unique key.
multiple ON DUPLICATE KEY UPDATE
Here is an example of how to update multiple columns using values supplied in the INSERT statement. This assumes that column 'a' is the unique key.
php unlink recursive
The shortest recursive delete possible.
<?php
/**
* Delete a file or recursively delete a directory
*
* @param string $str Path to file or directory
*/

