Skip to content

Commit

Permalink
adding server info
Browse files Browse the repository at this point in the history
  • Loading branch information
sarfraznawaz2005 committed Feb 26, 2012
1 parent 4506d43 commit f02f6fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<a class="navhead" href="#">PHP Info</a>
<ul class="navlinks">
<li><a href="#" rel="info">PHP Info</a></li>
<li><a href="#" rel="server">SERVER</a></li>
<li><a href="#" rel="ini">PHP INI</a></li>
<li><a href="#" rel="extensions">Loaded Extensions</a></li>
<li><a href="#" rel="path">Include Path</a></li>
Expand Down
3 changes: 3 additions & 0 deletions js/pe.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
case 'info' :
code = 'phpinfo();';
break;
case 'server' :
code = 'pr($_SERVER);';
break;
case 'ini' :
code = 'pr(ini_get_all());';
break;
Expand Down

0 comments on commit f02f6fd

Please sign in to comment.