What is the equivelant of :
$fp = fopen("./orders/orders.txt", 'r');
in this format:
$fp = fopen("$DOCUMENT_ROOT/../orders/orders.txt", 'r');
the second line of code is not accessing "orders.txt" file, which is in the "orders" directory. But the first one is. Can anyone give me a hint as of why? Aren't they suppose to do the same thing?
ty
masood