Archive for the ‘PHP’ Category

How To Splice Using array_splice

Array_splice is very useful tool, it looks to me that is the only function you can use to insert an item in the middle of array. Read the rest of this entry »

Array And Object in PHP and Javascript

When you have had some experience of javascript programming, you must know that associative array is an object and an object is an associative, at least property wise (associative array is very different from index based array in many aspects)they are similar. Read the rest of this entry »


Filter_var function in php is a very useful built-in tool for server side form validation, but there is a minor problem when you validate an integer which is zero. It does not accept zero as a valid integer. Read the rest of this entry »

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 »

Page 3 of 612345...Last »