• Overloading in PHP with Example

    Swapnil
    No Comments

    Function overloading or method overloading is a feature that allows creating several methods with the same name which differ from each other in the type of the input parameters. It is simply defined as the ability of one function to perform different tasks. For example, doTask() and doTask(object O) are overloaded methods. To call the […]

    Read More
  • Deny folder and all the subfolders in Apache with .Htaccess

    Swapnil
    No Comments

    You have a folder inside which there are library files which you don’t want to show it to the end-users.

    You can send any type of HTTP status code with this. If you want to show a Forbidden error you can show R=403. L tells that this is the last rule and discard any […]

    Read More
  • Move website from root directory to subdirectory by .htaccess

    Swapnil
    No Comments

    Well known web hosts like hostgator does not allow moving your primary domain to a different subdirectory. The problem is that you will have cluttered all the primary domain’s file onto the public_html  and you are searching for a solution which will move the root to a subdirectory without visibility of the foldername in url. This […]

    Read More
  • Simplest chat example in node.js and socket io

    Swapnil
    No Comments

    Simplest Chat Server in Node.js implemented with socket.io I’ll directly start since you guys don’t need introduction to node.js.I would like to comment on the feature exposed in this example of Nodejs and power of javascript running in both client and server side, it can use the event emitters  - event production and consumption design pattern […]

    Read More
  • The javascript’s superiority

    Swapnil
    No Comments

    Prior to the nineteenth century where people in India spoke a variety of languages could express the feelings in an emphatic way could convey the understanding to one another.No doubt some languages had the power to express poetry beautifully that Ramayana based on the life of Ram was  written entirely in the poetic form with […]

    Read More

Search

Powered by Ajaxy