How to get the space available of web server in php?

php

Solution

The main function is used to get space available is same as above said. you have to use `disk_free_space()`. but the different is to know the server path. And put it in braces.

Problem

I have a domain name like 'mydomain.com'. I want to check how much space available on server with this domain name with the help of php. Like for our hard drive we `use disk_total_space("C:");`. Can anyone help me to get the solution.

Original source