keaglez

Hi! I'm Jeffri Hong, also known as keaglez, a 21 years old geek who love the web and comic.

Fake sub-domain in 1..2..3

Posted on Programming and tagged with ,

I just figure this out, thanks for Google’s help. :) If you want to have fake sub-domain, which do nothing but to send request to your PHP script, so you don’t need to use separate script for each sub-domain, then this might be the simplest way to do. Yup, as easy as 1, 2, and 3……. lol

Okay, so this is how:

Read more…

PHP code, searching combination of T9

Posted on Programming and tagged with

T9, which stands for Text on 9 keys, is a patented[1] predictive text technology for mobile phones, originally developed by Tegic Communications, now part of Nuance Communications[2]. Read more on Wikipedia

This is usually used in mobile phones for predictive alphabet input. Each key have associated letters, such as 2 for ABC, 3 for DEF, and so on… This function allow you to search combination from entered number, for example, input 23 will return ad, ae, af, bd, be, bf, cd, ce and cf, in array.

Read more…

Limit string using regex with PHP

Posted on Programming and tagged with ,

Sometime, we want to limit our string to display only few from the whole string. For example, in the homepage. This can be archieved easily using the default substr function. The example of the usage to limit to 25 characters:
Read more…

Now, my blog is do follow

Posted on Wordpress and tagged with ,

Now, my blog is do follow. That means, while you are commenting on any of my article, you will get a free backlinks from my blog. But, but, please do not spam! I also has disable trackback as this morning I got about 200 and more trackback that not even related with my blog. While I trying to visit the URL, I just got that the blog has been deleted by blogspot.

For anyone that used WordPress blog and want his/her blog to be do follow, it can be archived by editing the wp-includes/comment-template.php file or by using some plugins. I don’t know the plugins name that do this work, you can search on Google, because I think that editing this file is far more easy. :)

Read more…

Autorun Manager from Revival project

Posted on Programming, ROKR E2 and tagged with , , , ,

While we doing Revival project a little while ago with arctu, Taurnil, and others, we actually have working hard for some cool application for our E2. This project, unfortunately have been aborted since all of us have no time to continue it. One of the application I made, the Autorun Manager is one of the hardest application I have ever made. This application used PHP as its programming language and use arctu’s show* binaries as the GUI. Since the project stopped, I think I need to release it as standalone application that compatible with most monster pack out here.

Why PHP? Because it is fast, more than Bash. The meaning of the fast, is the speed while processing data and not the GUI speed, since show* binaries is fairly slow. So, with PHP, I can made more data processing while not sacrificing the speed. It is also more flexible.

Read more…

Proudly powered by Wordpress