Send SMS (text messages) via PHP script


I figured this out the other day and thought it would be a good idea to pass on. SMS messages are just sent to special email addresses, so they can be sent from server to phone with minimal effort. Here is the form and handler, feel free to copy or modify it in any way you see fit:

6 CSS3 and jQuery Loading Animations Solutions


The largest resource of CSS3 and jQuery Loading animations is now in your hands. You will be surprised to see the amazing animated series as we bring for you the best of the run. Before loading animation was tough and was restricted only to the Gif format but now with powerful technologies and browsers (the canvas and VML), you can also load it with the CSS3 and jQuery . It is highly customizable and the server gives you a smooth processing of the request made by you.

Store Multiple Values for a Key using Apache Collections

n common programming we use maps to store key and value pair. They have one-to-one relationship.But, sometimes we need to use one-to-many relationship in order to store multiple values for a particular key.To achieve this we can use a hashmap to store a key and value will be a list.But,Here we'll discuss about Collections API given by Apache to do the trick.

Shutdown Computer From Mobile Using PHP

On the Internet there are some tutorials about shutting down a computer from a mobile phone.But, in this tutorial we'll check out a way to shutdown a computer from a mobile phone using PHP.For those who don't know PHP, it is a scripting language in simple words.

Easy AJAX Pagination Using JQuery CakePHP


I was working with CakePHP's Easy AJAX Pagination Using JQuery. I found this as a great code for sorting and paging with jQuery inCakePHP. But i faced a problem in Mozilla Firefox. It is not working in Mozilla Firefox. While in IE and Crome it works fine for me.

How to Reload iFrame – Works in FF, Crome, IE, Safari


I was working with one web application and I placed a iFrame in it. I am making ajax call and updating iFrame files. Now I want to refresh only iFrame. I found many solution via Google and I tried many with my own idea to replace iFrame or load iFrame etc etc. 

Block Proxy Server via .htaccess

 I wrote .htaccess code for blocking proxy server. If you want to block proxy server using .htaccess than just write below code in .htaccess file and you rocks.

How to remove index.php from url using .htaccess (mod_rewrite)

For better SEO optimization and make urls more search engine friendly , remove index.php from URL and make it easier to read.

MySQL password hashing

Whenever you upgrade your MySQL installation, make sure to upgrade any client that uses it.
In some cases, clients that use a version prior to 4.1 will have a problem authenticating against the MySQL database if the latter has a post 4.1 version.

Resetting your mysql root password



It is quite frequent that an administrator simply forgets his mysql's root password.
Luckily, it is quiet easy to reset it, here are the steps:

Setting up MYSQL Database Replication


Setting up a database replication is one of many steps that should be taken in order to preserve data, preventing any loss and making disaster recovery easier.Luckily, it’s easy with MySQL. So let’s suppose we have two servers running MySQL, one called host1 and the other host2.

Export MYSQL data into Excel/CSV via php

Today i came across a functionality where i need to Export the MYSQL data into CSV/Excel file via PHP function/script. There are such requirement where client needs to Export the MYSQL data (Order data,Member data,Newsletter emails etc) into Excel sheet or CSV file for future reference or need to send to other team for future work.