Posts from PHP

How to read a particular line from a text file in PHP

By Saruque Ahamed Mollick

In this tutorial, I am gonna show you how to read a particular line from a text file in PHP. In the previous posts, I have shown you working with a text file in PHP several times,¬.... Read More

How to get last modification time of a file in PHP

By Saruque Ahamed Mollick

In this PHP tutorial, I am going to show you how to get last modified time of file in PHP. In many cases, it has been seen that you need to modify a file or update a file again and.... Read More

Move a file from one directory to another in PHP

By Saruque Ahamed Mollick

In this tutorial, I will show you how easily you can move a file from one directory to another in PHP. Moving file from one folder to another, there is no such move() function in P.... Read More

How To Rename A File in PHP

By Saruque Ahamed Mollick

Hi, This is a very basic and simple tutorial on how to rename file in PHP. So, I hope you gonna like this video as you can understand how the function is working and what are the.... Read More

How to convert PHP array to JavaScript Array

By Saruque Ahamed Mollick

This post is one of my favourite posts on this site. Because I am gonna give you the solution that I personally went through. I was doing a project on Free Currency Converter PHP .... Read More

Send SMS to Phone Number using Twilio in PHP

Send SMS to Phone Number using Twilio in PHP

By Faruque Ahamed Mollick | August 28, 2018

In this PHP snippets post, we are going to find a simple way to send SMS using Twilio in PHP. Here you will see how easily you can send SMS to a phone number using Twilio API. Before we go forward, let me tell you about Twilio in brief. Twilio is a cloud communications platform […] Read More

Encode and Get the Base64 of an Image in PHP

By Faruque Ahamed Mollick

Here we are now going to learn how to encode and get the base64 code of an image in PHP. I hope, you will enjoy this tutorial. Base64 represent binary data in an ASCII string forma.... Read More

How To Delete All Files In A Directory In PHP

By Saruque Ahamed Mollick

Hello programmers, Today I am going to show you how to delete all files from a directory in PHP. I know sometimes its become very useful to delete all the files from a directory us.... Read More