Hi,
I'm trying to write a packagable script that needs upload functionality (similar to a forum attachment).
www.domain.com/script <- location of the script
www.domain.com/script/uploads <- where I want uploads to go
I have noticed some servers use these root paths
/home/username/public_html/
/mnt/sites/www.domain.com/
etc
How do I connect to the same directory on all servers considering that the document root is different on them all?
I'm trying to write a packagable script that needs upload functionality (similar to a forum attachment).
www.domain.com/script <- location of the script
www.domain.com/script/uploads <- where I want uploads to go
I have noticed some servers use these root paths
/home/username/public_html/
/mnt/sites/www.domain.com/
etc
How do I connect to the same directory on all servers considering that the document root is different on them all?
Comment