How to Upload and Validate Files using PHP

Howdy coders,

In this post, I’m going to show you how to upload and validate files using PHP. At first we’ll need a simple HTML form with an input type=”file”, then we’ll catch the uploaded file from PHP using $_FILES["file"]. Then we’ll validate it by extension, mime-type and file size; then process it further.

Read more…

Be the first to comment - What do you think?
Posted by Arpan Das - 15-March-2014 at 12:44 pm

Categories: HTML, PHP, Tutorial   Tags: , , , , ,

How to Auto Resize a textarea with jQuery

To make a textarea auto resizable with jQuery, use the following codes. Read more…

Be the first to comment - What do you think?
Posted by krishnaTORQUE - 7-February-2014 at 1:10 pm

Categories: HTML, JavaScript, jQuery   Tags: , , , ,

What is Yoda Condition & what are the Advantages?

In many programming languages, in a conditional statement, we use double equal signs (==) together to compare two values. Traditionally, the constant part goes right and the variable part goes left to the double equal signs. The single equal sign is used to assign values to variables. Read more…

Be the first to comment - What do you think?
Posted by Arpan Das - 4-February-2014 at 12:46 pm

Categories: Uncategorized   Tags: , ,

Convert an Image to Text (OCR) using MS Office Document Imaging

Howdy folks,

In this article I’m going show you how to convert an image to text using Microsoft Office Document Imaging Tool. This method is also known as OCR (Optical Character Recognition).
Read more…

3 comments - What do you think?
Posted by Arpan Das - 3-December-2013 at 10:38 pm

Categories: Tips & Trick, Tutorial, Windows PC   Tags: , , , ,

How to Crimp & Make Ethernet/LAN Cable Yourself (Crossover & Straight) – DIY

If you want to connect two or more computers in most fast way, you need to have a LAN cable. Of course you can buy a ready made cable from your local computer shops, but in this article, you’re going to learn how to make a LAN cable yourself.

Read more…

Be the first to comment - What do you think?
Posted by Arpan Das - 25-November-2013 at 12:34 am

Categories: Hardware, Tutorial   Tags: , , , ,

How to Get ASCII KeyCode of User Pressed Keys using JavaScript & jQuery

Hi everyone,

In this post, we are going to learn how to get ASCII KeyCode of User pressed keys using JavaScript and jQuery. Suppose we have an input tag with id “#textbox“. Now try the following codes and have fun. Read more…

2 comments - What do you think?
Posted by Arpan Das - 19-October-2013 at 11:17 pm

Categories: JavaScript, jQuery   Tags: , , ,

Bulk AJAX XHR Error/Exception on FireFox/Chrome/Opera – Solution/Fix

Hi guys,

Today I was working with a project, I named it FTP File Indexer & Search Tool. It recursively scan FTP servers and fetch files into MySQL database. As PHP will eat up all memories and because of max time out problem, I’m using jQuery AJAX to do all additional works (like recursively looping through Read more…

Be the first to comment - What do you think?
Posted by Arpan Das - 17-October-2013 at 11:19 pm

Categories: AJAX, JavaScript, jQuery, Tips & Trick   Tags: , , , , ,

How to Prevent/Disable Context Menu (Right-Click Menu) on Web Pages

Hi folks,

You might want to prevent users from opening Context menu (aka Right-Click menu) by disabling it on your pages. In this post we are going achieve that feature using very simple one-line of JavaScript. Read more…

3 comments - What do you think?
Posted by Arpan Das - 12-October-2013 at 11:51 pm

Categories: JavaScript, Tutorial   Tags: , ,

Stuck at installing apps from Google Play Store? Solution is here!

Many of you may have very slow 2G/EDGE internet connection on your Android phone and you’re stuck at installing apps from Google Play Store. The reason behind this is Google Play Store transfers data in background to update itself or something else. Read more…

20 comments - What do you think?
Posted by Arpan Das - 16-August-2013 at 12:43 pm

Categories: Android, Mobile Devices, Tips & Trick, Uncategorized   Tags: , ,

Next Page »