I took down my other post to make this one easier to read.
A page is kept at domain.com/net/page.php
But we know from error messages it is in
/home/domain/public_html/net/page.php because that's how the server reads it. Is there a way to use that path when coding? I would need to use it for my copy path.
copy($file, "/home/domain/public_html/users/pics/");
Something like that. I can't do "../users/pics/" because this page is read as domain.net even tho it is housed on domain.com/net/
Please someone tell me there is a way to use the absolute path!