PHP

How does IP to Country module work

I got a request to write a brief explanation how IP to Country module work. I supposed to provide a comprehensive documentation at howforge.com but there was no time to do that. The fact is that I completely forgot until got this reminder. Now I have decided to write something useful as his request.

How to call XML-RPC in PHP

This is a brief tutorial for calling XML-RPC function in PHP. There are so many XML-RPC implementation in PHP but I will use XML-RPC for PHP 2.0 because it is purely written in PHP.

Let's go to the point. First of all, you have to create an XML-RPC client instance using xmlrpc_client().

$c = new xmlrpc_client('http://192.168.0.1:12345/RPC2');

How to obtain SAP RFC SDK

Just a note to obtain SAP RFC SDK. You need it if you want to develop any kind of SAP RFC from external subsystem like Perl, PHP, Python, or Ruby. If you are mainly working on Windows platform, precompiled DLL should be sufficient. Unfortunately, Linux platform is very complex due to various core libraries so usually, you need to recompile RFC for your programming language by yourself. Well, it is not easy to find SAP RFC SDK but I found a helpful thread.

How to setup Bandwidth Meter service

This is my goal for today. I have to setup a Bandwidth Meter service. It has many names, e.g., Speed Test, Bandwidth Test, and etc. Only one criteria is that I don't want to pay any cents so it must be free of charge and it should be open source.

I can't remember how long I had been waiting for an account at . It seems like everyone have it installed on their sites but not for me. Anyway, the wait is overed by today since it goes public right now. Thanks to Nick for that to acknowledge all of us, especially me. I have applied howforge.com to be tracked with module for Drupal.

Result of Fighting back SPAM

It has been about 2 weeks since I turned on [spam v2][1] in this site to [fight back SPAM][2]. I just want to report the success of this action. After the installation, the module worked intelligently to unpublish lots of comment SPAMs everyday without any training for a few days. By the way, it turned out that SPAMers changed their patterns so the module could not classify them as SPAM correctly. So I manually marked 4 comments