Category: Programming

  • WebDeveloper Handbook

    Bookmark to great link where there are lot of resources are bookmarked for web developers http://www.alvit.de/handbook/

  • Hello World

    As a computer software programmer, one must have learned and use these two words “Hello World”. It is unsaid theory to write a hello world program to start learning a programming language. You can read the “greatness” of hello world at http://en.wikipedia.org/wiki/Hello_world_program. Or get a Hello world program for your programming language from this collection…

  • Spell Checker for Web Application (PHP on Linux )

    Well try this http://activecampaign.com/activespell/ free spell checker, it use backend pSpell component installed on PHP to work, but is very good spell checker for your HTML editors and TextArea boxes. I have used it in past and found it easy to install.

  • Comparing Date Range (Date Interaction checking through SQL)

    As title says, I was looking to compare User give date range with date range saved in mysql Database. I search internet and found a great  small function that solve this problem for me, though they create a function for some programming language but I use same function in mysql (as per mysql syntax) and…

  • LightBox Vs VideoBox Vs Custom Code

    Recently I was given a task to make LightBox and VideoBox work on same page, where we have Images and Video to show. However, Videobox is inspired by Lightbox as per developer, they are not compatible with each other. The reason I found is that they share few variable and hence they are breaking each other’s code.…

  • PHP: ob_start and header redirect … use it with care

    Today, I found a interesting bug in code. This bug has cause our customer to lose data at least 3-4 times in recent past, we read logs and try to find the stories that are causing data loss. But everytime we found no good stories from fact. But today we found the cause of error.…

  • Javascript Replace Function

    I just have been asked, “Does, Javacript string.replace function replace string only once?”. I said, “No”. But when I test the function I was wrong. Then did a search on internet and found that Javascript’s Replace function is not a String Replacement function as in anyother language, but it is regular experssion based Replacement function.…