lordvader Posted September 27, 2006 Share Posted September 27, 2006 hi,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?Thanks Link to comment https://forums.phpfreaks.com/topic/22208-what-is/ Share on other sites More sharing options...
warewolfe Posted September 27, 2006 Share Posted September 27, 2006 Hejif 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.)WW Link to comment https://forums.phpfreaks.com/topic/22208-what-is/#findComment-99414 Share on other sites More sharing options...
lordvader Posted September 27, 2006 Author Share Posted September 27, 2006 thanks wolf Link to comment https://forums.phpfreaks.com/topic/22208-what-is/#findComment-99417 Share on other sites More sharing options...
kenrbnsn Posted September 27, 2006 Share Posted September 27, 2006 Using the "./" guarrentees that you start at the current directory.Ken Link to comment https://forums.phpfreaks.com/topic/22208-what-is/#findComment-99418 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.