Create HTML Chess Game With jQuery
We all love to play Chess, the most fascinating game that absolutely needs good thinking powers. You know that, comparing a human to a computer logically and arithmetically, computer has the superior power. So, certainly if you play a chess game with computer as opponent, a 90% chance is for the computer to be the winner. But, it is not sure. It was actually in C language by Oscar Toledo Gutiérrez,…

Read Article

Finding Exact Document Root in PHP
You might know the DOCUMENT_ROOT value of the $_SERVER array. This value indicates the absolute location of the site directory where pages are served. In short, it's the public folder of site as defined in the server's configuration. Here's a quick example : If you have a site in /home/me/site and can access it by http://site.dev, then the $_SERVER['DOCUMENT_ROOT'] is "/home/me/site". If any page in the server, even if it is in many sub folders,…

Read Article

Create Live Group Chat With PHP, jQuery & WebSocket
With the introduction of HTML5, a new technology was evolved in 2011 called WebSockets. This technology enables live connection with the server even after the page finished loading. It's a better, replaceable version of AJAX for client to server communication in the background. With WebSocket technology, its possible to have a direct communication between server and client without any interruption and faster data transmission. So, to demonstrate this to me and for you, We're going…

Read Article

Record, Play, Download Microphone Sound With HTML5
HTML5 has tons of new stuff that are exciting and very interesting. It arrived with features that would replace the need of Flash in browsers. Since the features that were available in Flash is coming into the native JavaScript, soon we won't have to update our Flash player plugin and depend on Adobe for new awesome features. More integration with hardware technologies to the Web is the main important thing. We can now…

Read Article