xcat-core/xCAT-web/lib/phpinfo.php
bp-sawyers 149ba95154 Pkging for web rpm is ready
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-18 15:30:44 +00:00

13 lines
364 B
PHP

<?php
//setcookie("history", "", time() - 3600); //to delete a cookie, but did not seem to work
require_once "../lib/functions.php";
echo "<p>\n";
runcmd('echo $PATH', 1, $junk);
runcmd('whoami', 1, $junk);
echo "</p>\n";
/* $output = array(); runcmd("listattr", 2, $output); foreach ($output as $line) { echo "<p>line=$line</p>"; } */
phpinfo()
?>