sorry for my little bit confused topic title (standard-adressing vs. web-addressing in PHP).
My problem is (maybe) very simply:
I have some code for upload file to some Joomla directories on server:
$uploaddir=$conf_ImageUploadDirectory;
/* value for $conf_ImageUploadDirectory is defined in config file:
"C:\\WebServer\\Neptunius\\images\\UserPhotos\\"
*/
for upload (and for next rename of file) I use this style of addressing (absolute "windows" location: C:\\WebServer\\Neptunius\\images\\UserPhotos\\ ),
it's right in my localhost, but problem is on my webhosting. I don't know "absolute location" of directories. And would be better using some "web-style" addressing (eg. http://myweb/images/UserPhotos/, or: ../images/UserPhotos/ or something similar.
How can I use it then in PHP functions: rename(..), move_uploaded_file(..), unlink(..)
![Huh ???](./images/smilies/icon_question.gif)
These functions are working with "absolute addressing", or are not?
thanks for help
FF