What is the path to my files?

You can discover this by logging in, choosing “Domains”, clicking the “View” icon next to your domain, and then the answer will be shown next to the label “Server Account Path”.

However, you should not need to use this information in any PHP scripts, as the current directory is set to the directory with the running script in. You can either use relative paths, or detect within the script.

Posted in: Questions about PHP scripting