For example : fopen("$_SERVER['DOCUMENT_ROOT'/../orders/orders.txt",'w');
What does DOCUMENT ROOT exactly do in this particular example because orders.text file is included in the orders file which is the parent root folder of that file ... So what does $_SERVER[document_root] exactly represent ???? They say its point to the root of the WEB SERVER but what root are they exactly talking about ??? is it a file. I want an example.
What does DOCUMENT ROOT exactly do in this particular example because orders.text file is included in the orders file which is the parent root folder of that file ... So what does $_SERVER[document_root] exactly represent ???? They say its point to the root of the WEB SERVER but what root are they exactly talking about ??? is it a file. I want an example.