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 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