PHP fopen() Function Tutorial

PHP fopen() Function Tutorial

PHP provides the fopen() function in order to open files. Even fopen() is created to open files it can also open different types of resources and protocols like HTTP, HTTPS, FTP, etc. Opening a file seem simple operation but it may have different file open modes like a read-write, read-only, open file if not exit … Read more

How To Convert Array Into String In PHP?

How To Convert Array Into String In PHP?

PHP arrays are used to store different types of multiple dates into a single variable. PHP arrays can also store multiple string type items. In some cases, we may want to convert multiple string array items into a single string. PHP programming language provides different methods to convert an array into a string. Convert Array … Read more

How To Install PHP 7 On Ubuntu (Debian, Mint)?

How To Install PHP 7 On Ubuntu (Debian, Mint)?

PHP is a popular programming language that is generally used to do develop web applications. Even it can run on different platforms like Windows, MacOS, Unix, etc. the most popular platform and operating system family for PHP is Linux. PHP can be installed on Linux distributions like Ubuntu, Debian, Mint in different ways. Command-line apt … Read more

PHP list() Function Tutorial – Convert Array To Variables

PHP list() Function Tutorial - Convert Array To Variables

The array is an important part of the PHP and other programming languages. Arrays can store multiple items in a single structure or variable. Creatin an array from multiple items are a well-known topic but converting an array into multiple variables or items is a less known topic. The list() method can be used to … Read more

How To Write A File In PHP?

How To Write A File In PHP?

PHP programming language provides different functions in order to write files. A file is a container that contains and stores data in different formats like simple ASCII tet, binary data, XML data, etc. Even databases provide more structured and easy to use data storage functionality files can provide more simple, fast, and basic data storage … Read more

PHP header() Function Tutorial

PHP header() Function Tutorial

HTTP protocol uses the HTTP headers in order to provide information to the user browser. HTTP headers may provide information like content type, response code, timezone information, caching, etc. HTTP header is created by the web server and as a dynamic web programming language PHP provides header() function in order to add, change the HTTP … Read more