PHP 5.2.5 Released, 7 security enhancements & fixes

From php.net The PHP development team would like to announce the immediate availability of PHP 5.2.5. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release. Further details about the PHP …

More

Create Paging with PHP : Link collection

Soon or later everyone who learn php will face this thing : ‘paging‘ blog, guest book, search result are using paging for displaying data. Make it easy to read and more friendly some picture of paging implementation :    Good paging code will survive when record in database or file system getting bigger. many url …

More

Multiple domains login in roundcube webmail

Roundcube is very good solution for webmail. I use squirrelmail for almost 4 years and I like it too. In production server I install squirrelmail and roundcube as well for give other user different experience using mail and mail2 as prefix and multiple domains need special attention in roundcube. After search in their forum I …

More

date.timezone in php.ini for php5

My last post about glitch in time related function for php5 I use a function date_default_timezone_set For global setting as always use date.timezone in php.ini just change from : ;date.timezone =Asia/Jakarta uncomment it first by remove semicolon mark into this : date.timezone =Asia/Jakarta save php.ini files and restart apache try view using phpinfo() you’re done

date_default_timezone_set for php5 date() fixation

Recent upgrade to php5 in appserv make me confuse when my friend ask me about this code : print date(‘d-M-Y H:i:s’); hour isn’t accurate after googling I found about date_default_timezone_set for full list of supported zone time see this link http://www.php.net/manual/en/timezones.php edit  the code into date_default_timezone_set( "Asia/Jakarta" ); // date.timezone = "timezone_here" print date(‘d-M-Y H:i:s’); …

More