Archive for December, 2010

WordPress Permalink and IIS

When wordpress is hosted in IIS, permalink will not work, as permalink needs url rewrite.

WordPress is a php application aimed to be hosted by Apache server, there is a rewrite_module of Apache which is doing url rewrite through .htaccess file.

All these mechanisms do not exist in out of box IIS. Read the rest of this entry »

Tags: ,

PHP Debugging Using XDebug

When it comes to php debugging, we seem to have only two options, one is zend debugger, the other is Xdebug, for life of me I never understood how to use zend debugger or even where to start, it looks like they called it a zend server which confuses me more(we do not need one more server, do we?), if there is any one here who knows how to debug php using zend debugger, please leave me a message.

Good news is Xdebug is a viable option for php debugging(even though sometime it is slow in Eclipse), and it is free, simple, here I am going to show you how to use it. Read the rest of this entry »

Use Session in WordPress

Extra attention must be paid to the use of session in wordpress especially when objects are stored. if you are not careful, ‘__PHP_Incomplete_Class’ is waiting to happen. Read the rest of this entry »

Tags:

Javascript String Literal

String is a very important concept in javascript, as it is a script language, to me a script language does not have any typed data but string, you might not believe it, everything is in string. Read the rest of this entry »