get hard disk id using php?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maheswaran
    New Member
    • Mar 2007
    • 190

    get hard disk id using php?

    Hi friends,

    How to get hard disk id using php script?
  • satas
    New Member
    • Nov 2007
    • 82

    #2
    Originally posted by maheswaran
    Hi friends,

    How to get hard disk id using php script?
    Use system() function:
    [PHP]<?php system("uptime" ); ?>

    <b>System Information:</b>
    <?php system("uname -a"); ?>


    <b>Memory Usage (MB):</b>
    <?php system("free -m"); ?>


    <b>Disk Usage:</b>
    <?php system("df -h"); ?>
    [/PHP]

    From : http://www.wwwsearchso lutions.com/server_info.php

    Comment

    • maheswaran
      New Member
      • Mar 2007
      • 190

      #3
      but it's only run in unix, i need run both windows and linux al.....

      Comment

      • satas
        New Member
        • Nov 2007
        • 82

        #4
        Originally posted by maheswaran
        but it's only run in unix, i need run both windows and linux al.....
        I think this problem has *nix-olny solution.

        Comment

        Working...