get_disk
get_disk($path); - this function is used to get the disk where the file is located (file disk)
the input Function accepts parameters:
$path – path to the file to get the disk from (string). It can be either absolute or relative (relative to the script folder).
After testing, the function returns the result of its work to the script :
disk – the drive letter with a colon on which the specified file is located (string) false – there is no such file (boolean)