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

Oracle XE for network access

Default install of Oracle XE only allow connection from localhost. For network access you need sysdba access. Login as “system” with propriate password Click the arrow near administration tab Change access into “available from local server and remote connection” and followed by click “Apply Changes” See confirmation message Logout and try login from network.

Livehttpheaders, give me more info please

Download file from internet is fun, it’s make software distribution easy, hassle free for me The problem come when our download manager not working as expected, cookie, session etc that validate downloading process force me many times to do old fashion way for download . After reading blog ( I forgot the link ) , …

More

Krugle, A search engine for developers

The best way to learn language programming is write the code itself. Many times I see that sentence I take learning by doing model plus copy paste Beside reading manual, forum, chat as place to search for code I like this one : Krugle Krugle approach is very sweet. Krugle offer three tabs: Code Tech …

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

Faster browsing with MaraDNS

DNS, playing big part in internet . When it’s not work or behaves ugly nothing you got than famous message ” Can’t resolve hostname ” or ” Unable to find IP address of …. ” I used to use my freebsd dns server or Linux dns server in the office but when it come to …

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

Testing mail() function with agrosoft mail server 2

In my last post I have introduce about Agrosoft mail server (AMS) . Since this day isn’t end yet, I’ll start by word “Lets continue today lesson” I start by opening MS-Frontpage then make simple form mail which generate HTML code for me and I save it as contact.htm Code in send_mail.php : <?php mail(“alamster@localhost”,”Form …

More

Testing mail() function with agrosoft mail server …

Soon or later every people who learn php will meet PHP lovely function for sending email mail() Unfortunately many beginner who install only PHP, MYSQL and Apache in windows don’t know how to test their email script like contact form, mailing list etc. Today, I’ll show how to install mail server software available in internet …

More

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

Add fancy alias for your localhost or 127.0.0.1

A few student in my class ask me how to change default address for testing php script from http://localhost or http://127.0.0.1 into some real name like derick.com or google.com while they offline at home and no internet connection availabe at home . After googling for /etc/hosts equivalent finaly I got the answer, still related name …

More

Easy PHP Installer , XAMPP or WAMP ?

In my recent study to help me study PHP5, I’m looking forward for “easy php installer” that can help me to code in PHP4 (production) and then easily change to PHP5 (learning OOP). I used to use Appserv in my laptop or office PC but now it can’t help me any longer with PHP5 and …

More