Post image for Simple Image Placeholder Service

Simple Image Placeholder Service

Today I have found a very nice site with very useful service. They are providing dummy image placeholder for web page. So i thought to share with all. The site is . Earlier I have posted about generating dynamic dummy images. This site gives same functionality with some better features. Lets see how this works. […]

Post image for Read Text File using PHP

Read Text File using PHP

Here is the simple trick to read the text file line by line. For this I am going to use the and function. This is code snippet I am going to take one text file and read it line by line. Let’s for the code: $file = “/path/to/the/file”; $fp = fopen($file, “r”); while ( $line […]

Post image for Export Data into file using MySQL

Export Data into file using MySQL

With MySQL we can easily export our selected rows to the files. MySQL has several syntax which can export the retrieved rows into the file. Yes we can import these rows back to database tables also.

Post image for Create a Zip File Using PHP

Create a Zip File Using PHP

I am not sure about other programming language but for PHP yes its quite a simple job to create a zip file. You can say as simple as you create on your machine. PHP has a very useful class to create and manipulate the .Zip files. In this post I will show how to create […]

Post image for Get Real IP address of the Visitor using PHP

Get Real IP address of the Visitor using PHP

We all know that getting the IP address of the user is a quite easy job in PHP, even in any programming language. But are you sure that you are getting the real IP of the user? In php, is used to get the IP address of the user. But what happen if any user […]