Blog

  Development blog

Our development blog serves as your one-stop resource for valuable insights from our developers.

  Javascript Encryption (rijndael-256, cbc)

Encryption

<script src="/js/crypt/rijndael.js"></script>
<script src="/js/crypt/mcrypt.js"></script>
<script src="/js/crypt/cryptojs-core.js"></script>
<script src="/js/crypt/lib-typedarrays.js"></script>
<script src="/js/crypt/md5.js"></script>
<script>
function encrypt_me(){
	var str = $('#str').val();
	var key1 = $('#key1').val();
	var key2 = $('#key2').val();
	key1 = md5(key1);
	key2 = md5(key2);

Read more...

  CodeIgniter XML-RPC data transfer

XML-RPC

$this->xmlrpc->method('server_check_client');
$request_c = array(
        array($this->client_auth_key, 'string'),
        array($client_encrypted_data, 'base64')
);
$this->xmlrpc->request($request_c);
$response_array = array();
if (!$this->xmlrpc->send_request()){
	$send_status = 'FAILED';
}else{
	$send_status = 'OK';

Read more...

  How to compile PHP on Windows

Compile PHP

setenv /x86 /xp /release
cd /d c:\php-sdk\
bin\phpsdk_setvars.bat
bin\phpsdk_buildtree.bat phpdev
cd /d C:\php-sdk\phpdev\vc9\x86\php-5.3.28
buildconf
configure --help
configure --enable-apache2-2handler --with-curl --enable-fileinfo --enable-mbstring --enable-mbregex --with-mcrypt --with-openssl --with-pgsql --enable-sockets --with-mysql --with-mysqli --enable-pdo --with-pdo-mysql --with-pdo-mssql --with-pdo-pgsql --enable-soap --with-xmlrpc --with-xsl

Read more...