what is ./ ?
Posted 27 September 2006 - 04:58 AM
I don't what it's called, so I couln't look it up on phpnet, but sometimes a dot forward slash appears in my example problems that are referring to a file location.
For instance, i'm learning how to do file ops, and fopen('./foldername/file.ext', 'a') was an example...
What is that ./ supposed to indicate? server root? the next folder up?
Posted 27 September 2006 - 05:00 AM
if it was ../ it would mean to go back one directory then up another directory branch.
as it is ./ it would mean stay in the directory you are in now and then go up a named branch.
(In Windows that is.)
Posted 27 September 2006 - 05:12 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users