PHP is a rich language in its current version. Many functions allow treatments various and varied, and there is same several methods for doing current tasks. I always wondered which could be the differences in performances of these methods... Then I start this small tutorial of tests to be able to draw the best from PHP and to provide even more performances to your visitors
Problem ?
This functionality of the php.ini file will give access the wide functions acting on files, thus allowing instead of passing a local file name to pass a remote file name to it. The functions which use it are:
- fopen: Open a local or a remote file
- file_get_contents: Read a file into a string
- fsockopen: Open an INET or Unix socket
- file: Read a file and returns its contents into an array
- readfile: Print a file
Examples ?
Tests made ?
And so, results ?
Completes results files
:





