The riddle of Life

Life’s a riddle,which I never can solve, neither I know from where I evolve, nor I know where i will dissolve. I don’t know who am I? I am here I don’t know why? everybody else is just a  moment of my life, they just come and then they say goodbye, my present is also a moments long, just like a pendulum gong, tied with love strings, to and fro it continuously swings, between my future and past. some time smiles and, some time tears it brings without any rest.. it moves without trying to cease, when I will find …

BJP manifesto : A dream of next generation India

BJP MANIfesto explained

The BJP manifesto is one of the most intelligently written document showcasing the vision of Modi Government, and If in case Narendra Modi comes into power and work starts on the following points, India will be heading towards becoming a self sustained economically and socially strong nation. Keep in the mind these projects can never be completed in 5 years. In the last NDA rule led by A.B. Vajpayee, also a lot of projects were started like – “National highway project, Pradhan Mantri Gram Sarak Yojna, education  foreign policy and economic reforms” which are still in progress. Diamond Quadrilateral project …

A list of useful websites

1. screenr.com – record movies of your desktop and send them straight to YouTube. 2. ctrlq.org/screenshots – for capturing screenshots of web pages on mobile and desktops. 3. goo.gl – shorten long URLs and convert URLs into QR codes. 4. unfurlr.com – find the original URL that’s hiding behind a short URL. 5. qClock – find the local time of a city using a Google Map. 6. copypastecharacter.com – copy special characters that aren’t on your keyboard. 7. postpost.com – a better search engine for twitter. 8. lovelycharts.com – create flowcharts, network diagrams, sitemaps, etc. 9. iconfinder.com – the best …

Creating a ToDo webapp using PHP , MySQL and AJAX

TO_DO_APP_using ajax php and mysql

I was trying to create a ToDo app just to improve my understanding the way Ajax is used with PHP and MySQL. Finally I have written this app, which is hosted at github. This blog post will serve as a tutorial for the same.   The database CREATE TABLE IF NOT EXISTS `tasks` ( `task_id` int(11) NOT NULL AUTO_INCREMENT, `task` varchar(100) NOT NULL, `target_date` date NOT NULL, PRIMARY KEY (`task_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=18 ; Now we will create 5 files for the application. connect_db.php  – To connect with the database. create.php – The file used to create create …

When to use GET and when to use POST

According to the HTTP specification, you should use the POST method when you’re using the form to change the state of something on the server end. For example, if a page has a form to allow users to add their own comments, like this page here, the form should use POST. If you click “Reload” or “Refresh” on a page that you reached through a POST, it’s almost always an error — you shouldn’t be posting the same comment twice — which is why these pages aren’t bookmarked or cached. You should use the GET method when your form is, …