Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
-
tahirgull
- Cadet
- Posts: 2
- Joined: Wed Sep 20, 2006 4:40 pm
- Location: Islamabad
Post
by tahirgull »
Salam Everybody
I want to make a page in php from where i can check the space of disk.
(in linux Machine)
can anybody guide me.
Thanks
Sardar Tahir Shafique
-
lambda
- Major General
- Posts: 3452
- Joined: Tue May 27, 2003 7:04 pm
- Location: Lahore
-
Contact:
Post
by lambda »
Code: Select all
<html>
<head>
<title>df</title>
</head>
<body>
<pre><tt>
<?php system("df -k"); ?>
</tt></pre>
</body>
</html>
-
tahirgull
- Cadet
- Posts: 2
- Joined: Wed Sep 20, 2006 4:40 pm
- Location: Islamabad
Post
by tahirgull »
Thanks
Its working fine.
Thanks a Lot
Sardar Tahir Shafique