Skip to content
This repository
Browse code

Looks like GitHub denies excution of PHP files

  • Loading branch information...
commit 19253f45416cd2517e18ade296d425eb94a36e76 1 parent ecf5b2b
Hydriz Scholz authored March 05, 2012

Showing 1 changed file with 0 additions and 29 deletions. Show diff stats Hide diff stats

  1. 29  host_stats.php
29  host_stats.php
... ...
@@ -1,29 +0,0 @@
1  
-<?php
2  
-/**
3  
- *
4  
- * 					host_stats.php
5  
- *
6  
- * This is a simple script to run some command line
7  
- * queries regarding the server this file is being
8  
- * hosted on. Usually used to ensure that disk usage
9  
- * is below maximum level, and to ensure accidental
10  
- * overuse of the free service provided.
11  
- *
12  
- */
13  
-
14  
-?>
15  
-<html>
16  
-<head>
17  
-<title>Host statistics</title>
18  
-</head>
19  
-<body>
20  
-<?php
21  
-
22  
-// Queries:
23  
-// Function to query how much disk space is available on the host
24  
-$df = shell_exec('df -kh');
25  
-$output = "<pre>$df</pre>";
26  
-echo $output;
27  
-?>
28  
-</body>
29  
-</html>

0 notes on commit 19253f4

Please sign in to comment.
Something went wrong with that request. Please try again.