reading a file on same server
Suppose I have a php file "read_file.php" that is used to read .txt files, the structure of the folder/files are:
I was wondering which will be faster and why in PHP..
read file using relative path
read file using URL (note that the server which is making the request and the server where the file is being read is same)
Can someone explain me which is faster and why?