Techtalk

zFeeder – Making PHP 5.3 + compatible, solving ‘Function ereg_replace() is deprecated’

The latest zFeeder 1.6 uses couple PHP functions – ereg_replace and set_magic_quotes_runtime, which are deprecated in PHP starting from version 5.3. These function will no more be supported from PHP 6.0 onward.

How to solve “Deprecated: Function ereg_replace() is deprecated” problem?
Use preg_replace, which uses perl regular experssion, instead of ereg_replace.
There are two occurrences of ereg_replace [...]

Thursday, January 14th, 2010

How to multilingualize or localize URL in Gallery2 – enhancement of multilang module to create multilingual URLs, Multi-language URL for SEO with Multi Language Module

Know how to make your G2 URL multi language. The multilang module has been enhanced to implement this feature.

Wednesday, December 23rd, 2009

Fix for mergelog, fails with error “abort due to a problem” for dummy records of apache access logs

If you are getting “abort due to problem” for apache access logs for dummy records when your run mergelog (or zmergelog) then you fix the problem as follows:
1. Open mergelog.c file under src folder
2. Look for #define SCAN_OFFSET 9
3. Change it to #define SCAN_OFFSET 7
That’s all.
The problem is that the mergelog looks for [...]

Monday, December 14th, 2009

How to catch copy paste from explorer using shell extension? ICopyHook alternative for files and folder

Handling copy paste/cut paste event from explorer using shell extension…
Solution to :
1. How to catch copy paste from explorer using shell extension? ICopyHook alternative for files and folder
2. Howto trap copy paste event from explorer to do your custom processing or even
3. Howto replace/substitute the copy-paste/cut-paste operation with your own copy or move or anything else

Thursday, November 12th, 2009

How to convert ASCII/UNICODE string to hex string? Function/API to convert to hex string

Code snippet/API/function to convert a ASCII/UNICODE string to HEX

Wednesday, November 4th, 2009