PHP OO tutorials

Best way to learn scripting / program is easy. Just write the code and see the result. With the progress of OOP approach in field recently for our team make its ‘hard’ to adapt such change in mindset : Procedural vs Object Oriented Programming With case codeiginter,  we must learn the basic of OOP in …

More

GNS3 0.4 released !

From gns3.net : The GNS3 0.4 release is available. It includes lot of new features and improvements, among them: A dynamic mode (no design/emulation modes) A new .net save/load. c1700 and WICS support. PIX emulation. Dynamips’s ATM bridge. Capture feature for links from the GUI. IDLE PC calculation from the GUI. GUI improvements (save the …

More

nl2br, new line to br

I just forget this function when my friend ask me about strangeness in his data he store in mysql. He has address data in <textarea></textarea>, new line not converted to br as he thing. He just see all the input just store in single line. After search for a while I remember this gold function …

More

portupgrade don’t work

ftp# csup -g -L2 ports-supfile ftp# cd /usr/ports/ ftp# make fetchindex ftp# portversion -v | grep ‘<‘ /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill': MOVED file format error (PortsDB::MOVEDError)         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in `initialize’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup’         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in …

More

PCBSD 1.5 is out, get faster in 64 bit

From PCBSD press release : iXsystems Announces Release of PC-BSD Version 1.5, Edison Edition Release features AMD 64-bit as well as 32-bit processor support   iXsystems announced today the release of PC-BSD Edison Edition. PC-BSD is a fully functional open source desktop operating system based on FreeBSD 6.3-STABLE. FreeBSD is one of the most used …

More

Upgrade Dovecot 1.0.10 to 1.0.13

Recent ports update give old ports that need to update. Dovecot After upgrade to 1.0.13 mail# pkg_info | grep dovecot dovecot-1.0.13      Secure and compact IMAP and POP3 servers I see confirmation from dovecot : Warning: mail_extra_groups setting was often used insecurely so it is now deprecated, use mail_access_groups or mail_privileged_group instead Maybe I’m wrong, try …

More

Enter Your ebay PID

Recently I’m installing wordpress plugin for getting ebay auction data called phpybaylite. As usual process for install the plugin in wp is easy except for finding information in plugin configuration : ebay PID After figure out the way, finally I can find my ebay PID, here’s the steps: 1. Login to cj account, pick ebay …

More

php explode() and wordwrap()

Whats the different of explode() and wordwrap() ? Answer : just see this example for explode() <?php $birthday=’1998-12-11′; //we need to split the component to date, month and year $day_parts=explode(‘-‘,$birthday); // we use – as tool to separate, now print $date_component=$day_parts[2]; $month_component=$day_parts[1]; $year_component=$day_parts[0]; ?> Wordwrap will ‘wrapping’ user input, like formatting crazy user who type …

More

FreeBSD 7 update with csup

FreeBSD 7 released in perfect time, as my backup server need to upgrade I’m eager to choose FreeBSD 7.0RC2, then update to FreeBSD 7 RC3 and now in progress to change for RELENG_7 tag using csup. Yes, I use csup not cvsup. Another plan with FreeBSD 7.0 is try ZFS filesystem. already se zfs.ko in …

More

Pfsense 1.2 and DragonFlyBSD 1.12

What a day, two great iso launch in same day DragonFlyBSD reach the 1.12 number and planned to release it’s 2.0 with Hammer filesystem. Pfsense getting mature and reach 1.2. Quick link for download : DragonFlyBSD : Here PfSense : Here Download time guys

Distro News, February 2008 Week 3

1. Debian GNU/Linux 4.0r3 Download Link : here 2. Mythbuntu 8.04 Alpha 2 Download Link : mythbuntu-8.04-alpha2-i386.iso | mythbuntu-8.04-alpha2-amd64.iso 3. Frugalware Linux 0.8 RC2 Download Link : frugalware-0.8rc2-i686-dvd1.iso 4. Greenie Linux 1.2.8 "Battle For Wesnoth" Download Link : uwesnothcd.iso 5. GoblinX Linux 2.6 Download Link : GoblinX-2.6.iso 6. NetSecL 2.2 Download Link : netsecl-2.2-install.iso 7. …

More

postfixadmin and mysqli

I just don’t know exact step I’ve done when I see this error message when I try to access postfixadmin : DEBUG INFORMATION: MySQL 4.1 functions not available! database_type = ‘mysqli’ in config.inc.php, are you using a different database? Please check the documentation and website for more information. The email server already run for almost …

More