rsync server
rsync server
By nerkn - March 23rd, 2010
Similar
New technique to win olimpics
By nerkn - July 27th, 2010
At the 1968 Olympics, Dick Fosbury took the athletics world by surprise with an unusual high-jump technique.
Printing mysql_error
By nerkn - June 23rd, 2010
Tagged:
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
By nerkn - May 25th, 2010
Tagged:
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
By nerkn - May 25th, 2010
Tagged:
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
By nerkn - May 19th, 2010
The shortest recursive delete possible.
<?php
/**
* Delete a file or recursively delete a directory
*
* @param string $str Path to file or directory
*/

