Trouble finding server root directory
<p>i am working on a php project. I have uploaded the files in the server. When i login to the ftp account, it takes me to the main directory of files. I cannot implement the file download script. because i cannot obtain the root folder. when i use <strong>echo "$_SERVER["DOCUMENT_ROOT"]"</strong>, it shows - "<strong>(/var/chroot/home/content/30/6323230/html/)</strong>". but this does not work for me. if i use file location like - <strong>"$_SERVER["DOCUMENT_ROOT"]/songs/"</strong>, it simply gives error. </p>

<p>Its kinda unknown to me. because previously in another server outputs like - "/home/tskbdcom/public_html". when i log in to this ftp i get the root directory. then i go to "public_html" or "www" directory. </p>

<p>How can I solve this problem?</p>
