IDIOT DEVELOPER

Regular Expression in PHP
Regular Expression in PHP

In this tutorial we are going to learn Regular Expression in PHP. Regular Expression is a powerful pattern matching algorithm. It is used to for matching or identifying pattern in a string. These are generally used for validating data entered by the user via a form. The data can be like an email – checking […]

Read More
Time Stamp Function in PHP
Time Stamp Function in PHP
DEMO   DOWNLOAD

Everyone has seen the string 2 days ago, or 1 week ago in social networking websites and other websites. In this PHP tutorial we are going to build this functionality. In short in this tutorial we are going to convert unix timestamp into the time ago string. We are going to create a function in […]

Read More
Image Resizing in PHP
Image Resizing in PHP
DEMO   DOWNLOAD

Images are one of the most important part of any website, so it is important is keep them within a definite boundary. If images are not in boundary they become distorted and website does feel good. So it is important to keep images in a proper manner. There are time when there are images which […]

Read More
File Handling in PHP

File handling is one of the task that every web developer must know about. Web basically deals with data, and sometime we need files to store data. So in this tutorial we will learn about File handling in PHP, and explore various other things related to it. We will explore basic of reading a file […]

Read More
Simple Image Resizing in PHP
Simple Image Resizing in PHP
DOWNLOAD

Image resizing in one of the problem that every developer must have face. Resizing of the images need to take care or they will get distorted, and it will give a bad impression on your users. One solution can be there, we can create same image with different size. This is a good idea, but […]

Read More
Basic File Upload in PHP
Basic File Upload in PHP
DOWNLOAD

For every developer there come a time when s/he is required to add the file upload functionality in his program, that allows user to upload files on the server. Since allowing user customization has become more and more important on websites these days, I thought I should share how easy it is to handle file […]

Read More