Categories
Personal

How to Add Facebook Comment Code

Image

Facebook provides a social “plugin” to create a comment form, completes with pagination, commenter facebook profile picture, etc. In short, easy comment form and it is free 😀
The commenter needs to login to their Facebook account.

To embed the Facebook comment plugin into your website, please go to this link
http://developers.facebook.com/docs/reference/plugins/comments/

Categories
PHP Programming

Enabling CodeIgniter $_GET

Image

Here is how to enable CodeIgniter support to $_GET and still able to use the normal “SEO-friendly” URL working together.
So you will get a URL like this

http://www.example.com/index.php/the_controller/the_function/?some=thing&more=yes

First approach is modify your “config.php” and change this line.

$config['enable_query_strings'] = true;

But this is not recommended because on pagination, you will get ugly URL.

Categories
PHP Programming

Multilanguage Programming with UTF-8 Encoding

Image

Multilanguage non-ASCII site? Sometimes we need to make website that can handle languages which contains non-ASCII characters, for example chinese, russian, french, germany, etc.
To handle this, we need to handle the language on 3 parts : on PHP itself, HTML, and on the database (i use MySQL as example here).
Basically, we need to adjust the charset (character set) into UTF-8.

Categories
Programming

Encode dengan Ioncube cara Murah

Ioncube adalah salah satu encoder yg dipercaya “susah” didecode. Karena bukan obfuscator, tapi semacam “compiler” (http://www.ioncube.com).
Ioncube sndr harga softwarenya mulai dari $199 untuk versi basic sampai $379 untuk yg versi Cerberus (paling bagus).
Untuk para programmer yang ingin melindungi hasil kerjanya, Ioncube sangat disarankan untuk digunakan.

Tapi ternyata ada cara murah untuk encode sebuah file dengan Ioncube, yaitu dengan menggunakan online encoder.

Categories
Personal

Xrvel Scrapebox Review

I just purchased scrapebox maybe about 3-4 weeks ago. At first time i purchased it, i really had no idea how to use it. It seems i was facing a complicated software interface. I only downloaded the whole scrapebox addons.

Few days later, because i didn’t plan to buy paid proxies, i only got slow proxies, so i ignored Google on scraping. I only used Yahoo and Bing. However actually i use dynamic IP address so in case Google banned me, i can just switch to another IP address 🙂