PHP HtmlEntities for UTF-8 Characters

If you just use simple PHP htmlentities function with one argument, you will notice that when you pass string that contains UTF-8 characters, the result is incorrect leaving you with some incorrect characters on the result.

To use it correctly, use this code Gambar PHP HtmlEntities for UTF 8 Characters Image
htmlentities($your_string, ENT_COMPAT, 'UTF-8');

PDF Search Engine Script for Sale

Gambar PDF Search Engine Script for Sale Image

I am selling PDF Search Engine with these features :

  • Related terms on search result. This will boost clicks on result page
  • Paging on search result
  • Bad words blocking
  • Search engine friendly URL.
  • Search result cache on flat file on your server.
  • Tracking of most clicked URL on each search result.

Live demo :
http://www.xrvel.com/sub/pdf-search/

Server requirements :

  • Ioncube Loader
  • MySQL (database is needed only to record hits, NOT search result)
  • Apache mod_rewrite
  • cURL
  • Latest PHP

The core script is encoded by Ioncube. But the design files are not encoded.
A backlink to my web (xrvel.com) will be attached to the script automatically.

More information can be read on DigitalPoint : Gambar PDF Search Engine Script for Sale Image
http://forums.digitalpoint.com/showthread.php?t=2133748

Enabling CodeIgniter $_GET

Gambar 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.
Continue reading

Multilanguage Programming with UTF-8 Encoding

Gambar 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.
Continue reading

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.
Continue reading