How to display information about free space on disks using php? Something Google did not help.

  • I did not specify, and if I need to know the free space not on the web server, but on a third-party? - intertex
  • 2
    @intertex, if a third-party server or computer itself does not provide this information in any way, or you do not have any means to manage it, you will not be able to get it around. - Alex Krass
  • one
    What operating system is on a third-party server? Linux? And there are so many options: - Via FTP function disk_free_space - Run the command to get free space via SHH - Run the script on the server via cURL and get the result - For Windows, you can contact win32api , perhaps there are simpler options. - Alex Krass
  • one
    As an option that is familiar to me: I would launch IIS on WinServer and configure it to work with PHP. And then on WinServer we put a file that gives information about the free space of the disk, and on the Linux server we accept it via cURL. --------- There is also such an option in the vastness of the Internet. --------- Maybe someone else will advise more practical options ... - Alex Krass

0