Hi, all! How can I get current fullpath in PHP? I need to save images in certain directory, and don't want to write path where I'm going to save them, directly in the code: if someone changes server structure, I will have to change code. So, how can I know the current directory (full name), or may be, there exists another way to define destination directory for my files?
Or: can I get fullpath to the directory, to which I refer in PHP as '../../images'?