home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / phpinfo.php < prev    next >
Encoding:
PHP Script  |  2003-11-26  |  416 b   |  21 lines

  1. <?php
  2. /* $Id: phpinfo.php,v 2.2 2003/11/26 22:52:24 rabus Exp $ */
  3. // vim: expandtab sw=4 ts=4 sts=4:
  4.  
  5.  
  6. /**
  7.  * Gets core libraries and defines some variables
  8.  */
  9. require_once('./libraries/grab_globals.lib.php');
  10. require_once('./libraries/common.lib.php');
  11.  
  12.  
  13. /**
  14.  * Displays PHP information
  15.  */
  16. $is_superuser = @PMA_mysql_query('USE mysql', $userlink);
  17. if ($is_superuser || $cfg['ShowPhpInfo']) {
  18.     phpinfo();
  19. }
  20. ?>
  21.