Weblog of Abdullah Rubiyath :: Alif

Exploring the Web: An apple a day

March 2009

Apache htaccess : Redirect Old URLs to new URLs after Rewrite URLs have been applied

Thu, 03/19/2009 - 16:16 -- alif

.htaccess (Hypertext Access) files is a configuration file on Apache web server. It allows users to do many powerful features just by writing few lines.

Since this is a topic which has been widely blogged, I decided to write a topic which is hard to find, and followed by links to other blogger's site (which explains htaccess extensively).

PHP-5 DomDocument: Creating a Basic XML

Tue, 03/31/2009 - 14:33 -- alif

Since I wrote my ZCE Exam in last Sept 08', I have been using DomDocument mainly to generate XML files. Its a powerful library of PHP-5, one thing I find surprising is the lack of tutorials on the web on PHP-5's DomDocument. So, I decided to write a simple tutorial on how to use DomDocument to write XML. In this article, I will try to explain the basics of DomDocument and then will create a couple of simple XML files.