Change Time Zone with htaccess

In my server there are some sites from Turkey, some of from England, some of from Germany. I have got timezone problem in that sites. I found easy solution for this. Just add .htaccess this code: or You can test date is change or not If htaccess can’t solve your problem, add this code to …

Continue reading

del.icio.us bookmarks in PHP

This tutorial uses PHP5 to download and cache your recent bookmarks in RSS format from the Delicious API, then displays them in a HTML unordered list. Source : http://briancray.com/2009/delicious-bookmarks-api-php/

Continue reading

Creating Google Sitemap in PHP

We can create dynamic sitemap with using PHP & Mysql. My example code is easy to apply your system. Google Sitemap Plugins for WordPress http://www.dicontas.co.uk/blog/google-sitemap-utw-tag-wordpress-plugin/ http://www.arnebrachhold.de/redir/sitemap-home/ http://www.karailiev.net/karailievs-sitemap/ http://southcoastwebsites.co.uk/wordpress/

Continue reading

Calculate Last Week, Last Month in Mysql

We need get datas from last week, last month, yesterday and today. We can do it easily in MySQL. Getting Current Date Result : 2009-06-04 Getting Last Week Datas Getting Last Month Datas Getting Last Year Datas And Php example for this calculations, getting last month orders For more information of Date and time functions …

Continue reading

Update PHP to 5.2.9 in CentOS

I am using CentOS, i need update Php but yum latest Php version is Php 5.2.6. I solve this problem with download RPM from famillecollet.com. Full Rpm list is in http://rpms.famillecollet.com Php Latest Download : http://www.php.net/downloads.php

Continue reading