Category: PHP

How to prevent direct file access from a directory on server? 0

How to prevent direct file access from a directory on server?

Friends, Here is a simple approach to prevent the direct file access from a directory on a server. To do this we need to create a file .htaccess and just...

PHP implode and explode functions 0

PHP implode and explode functions

PHP implode() function is used to join array elements with a string. This function can be used whenever you want to represent an array in the form of string separated...

Magento Basic Requirements Check 0

Magento Basic Requirements Check

Magento Basic Requirements Check The following code can help us to check whether our system meets the basic requirements for magento installation or not. To use this code copy and...

Read And Write From a File Line by Line in PHP 0

Read And Write From a File Line by Line in PHP

Hello Friends,This is a simple example which demonstrates how one can write into a file line by line data in json format and read from that file again line by...

How to concatenate two or more arrays in PHP? 0

How to concatenate two or more arrays in PHP?

This is one of the example which are simple enough to implement but sometimes we make so many efforts to achieve this but we didn’t succeed at the end. I...