Knowing your host setup

Maintain large customer need special trick, specially with “security in mind” Many free host ( support php and mysql ) set restriction policy for security reason. Then phpinfo() is your friend to find out setting in server host. Just make simple file in browser : save it as info.php phpinfo(); ?> see it from browser …

More

Blogging Phenomena

I’m doing blogging since 2005, using serendipity then realize it’s not easy to migrate my old post to other blog platform …sigh. First time blog only took 2 word ” hello world” My posting language still mixing from Indonesia and English, also doing blog for “famous” till I found some serious blog. They make reference …

More

Moving to New Place with My Own Domain

Fiuuh, Finally migration from old host into my new place accomplished. Faster ….,hmm fastest I guest Special thanks to hosting365.com for providing space for me, very generous company. New place.. new passion for blogging I love wordpress and hosting365.com 100% uptime. hosting365.com rocks ! powered by performancing firefox

PHP Ternary Operator

PHP ternary operator isn’t beautiful for reading reason It’s also make confuse, but for the sake of simple it’s OK Syntax : ( expr1 ) ? ( expr2 ) : (expr3) If expr1 return true, then it evaluates to ( expr2 )If expr1 return false, then it evaluates to ( expr3 ) it’s similar to …

More

Recover Your Joomla Administrator Password

Joomla is very popular CMS, it’s easy to setup and require only working php and mysql installation. A problem may arise when your administrator password lost or forgot. Can I recover my admin password or create a new one ? It’s common question in "Setting your own Content Management System" workshop. Use php md5() function …

More

Year Validation with PHP

This code snippet validate user input from a form : $year=strip_tags($year); if(empty($$year) || is_numeric($year) || strlen($year)!=4 || $year strip all html tags ( handle by strip_tags ) make sure the year in 4 digit (with strlen help) make sure its number not character (is_numeric) not empty (php empty function) force user enter year of birth …

More

Regex, nightmare for newbie

Regex (Regular Expression) is nightmare for me, validation email, pattern recognizing task always depend on regex. A few software out there will help us (newbie) to learn regex faster with “experience mentor” I like these software : 1. Regexbudy A lot of video demo PHP section 2. Regexcouch For medium level, since I’m totally newbie …

More

Configure another extension for php file

While surfing in internet my student see "strange" file extension .love He asked me : "How it could be ?" Well, I told him about another feature of httpd.conf Just open httpd.conf , find this line : AddType application/x-httpd-php .php Change it into AddType application/x-httpd-php .php .love .dear .whatever Save httpd.conf and restart apache You …

More

PHP 5.2 released

PHP News PHP 5.2 release PHP Manual (chm, last update 5 Sep 2006) NetBSD 3.1 release, NetBSD 3.1 contains many bug fixes, security updates, new drivers and new features like support for Xen3 DomU Wait XAMPP for update to last version

OpenBSD 4.0 is Out

I just realized that today is November 1 and a few big thing release : Openbsd 4.0 is out Freebsd 6.2 reach it’s Beta3 Pfsense 1.01 out Code Igniter release new update 1.5.0.1 ( very active development ) My Freebsd 6.1 need upgrade and so my openbsd box ( 3.7) I still new in CI …

More