Top 7 Laptops of 2014

Finding the right laptop is no easy challenge. With so many models on the market, it’s easy to get bogged down in technical jargon. There’s no single model that will suit everyone, because we all have different priorities. What’s important is finding a laptop that works for you. A new laptop can be a major […]

Prevent your site from being shown in iFrames using javascript

Data scraping is one of many pains bloggers and web developers face these days. Someone works hard enough to create a unique content and a unique code or script making their website useful and someone else simply uses iframes to show all their effort on their own website and getting all the credit. Or for […]

You can now change Facebook Cover privacy settings

Facebook has just launched the feature for its users that they can limit the visibility of old facebook covers to their contacts which they chose to. The old facebook covers can be shown to public, as they were before, or they can be limited to friends only or specified people. Or you can chose “only […]

[Solved]I’m getting SSL certificate error in all my browsers

One of the members of the facebook group asked the following question recently: Yar i am getting ssl certificate eror in all my browsers… na google khulta hai aur na hi twitter ye kia musibat hai .. kaise hal hoga ye any one help me.. This post is dedicated to him. The issues was, that […]

Simple AJAX post() function

This is a simple post function of AJAX using jquery. It will submit the data as POST to the specified php file and the data can then be worked normally as $_POST.   $(“button”).click(function(){  $.post(“submit_to.php”,  {    name:”Nabtron”,    description:”technology”  },  function(data,status){    alert(“Data: ” + data + “\nStatus: ” + status);  });});      

beforeSend for .post in AJAX

beforesend is really useful when you need to show some spinner while the data is being submitted and the response from the server is awaited. However I found it hard to find any set protocol to do that for .post function for AJAX in jQuery. This beforesend function does work for AJAX protocol but not […]

PHP mail function (for sending $_POST or $_GET data from form or AJAX)

This post is to give an example of simple PHP mail function. The first one is a simple mail function with minimum elements in it. The second one is a theme for sending $_POST posted data via email.   <?php $email_to=”someemail@somedomain.com”; $email_subject=”the posted variables”; $email_message=”Theinitial message”; $headers = “From: Beacze\r\n”. “Reply-To: developer@nabtron.com\r\n’” . “X-Mailer: PHP/” […]

[Solved] #1063 – Incorrect column specifier for column . . .

While adding auto increment value to one of the columns in my mysql database table, I got the error saying: Error SQL query: ALTER TABLE `tablename` ADD `id` VARCHAR(11) NOT NULL AUTO_INCREMENT AFTER `userid`, ADD PRIMARY KEY (`id`) ; MySQL said:  #1063 – Incorrect column specifier for column ‘id’  Solution The error can easily be […]

How to install zenmate proxy on chrome (to run blocked websites)

There are situations in which we want to bypass the restrictions and access blocked websites on our network which could be blocked for any reason but it’s critical to load them at that particular time. For example, youtube is blocked in some countries, including Pakistan. Yesterday a very good friend of mine needed to access […]

[Solved]How to get content of page using PHP cURL – simple

This tutorial explains how to get the content of a page using PHP cURL. This is a perfectly working example, you just need to change the “url” value which can be either entered by hand there or made dynamic variable if it “GET” or “POST” the value from the submitted data to that page. The […]