# ## License: GNU LGPL v.3 # ## Site: http://www.apphp.com/php-calendar/ # ## Copyright: ApPHP Calendar (c) 2009-2012. All rights reserved. # ## # ################################################################################ require_once('settings.inc.php'); ob_start(); if(function_exists('phpinfo')) @phpinfo(-1); $phpinfo = array('phpinfo' => array()); if(preg_match_all('#(?:

(?:)?(.*?)(?:)?

)|(?:(.*?)\s*(?:(.*?)\s*(?:(.*?)\s*)?)?)#s', ob_get_clean(), $matches, PREG_SET_ORDER)) foreach($matches as $match){ $array_keys = array_keys($phpinfo); $end_array_keys = end($array_keys); if(strlen($match[1])){ $phpinfo[$match[1]] = array(); }else if(isset($match[3])){ $phpinfo[$end_array_keys][$match[2]] = isset($match[4]) ? array($match[3], $match[4]) : $match[3]; }else{ $phpinfo[$end_array_keys][] = $match[2]; } } $is_error = false; $error_mg = array(); if(EI_CHECK_PHP_MINIMAL_VERSION && (EI_PHP_MINIMAL_VERSION > phpversion())){ $is_error = true; $error_mg[] = 'This program requires at least PHP version '.EI_PHP_MINIMAL_VERSION.' installed. You cannot proceed the installation.'; } if(EI_CHECK_CONFIG_DIR_WRITABILITY && !is_writable(EI_CONFIG_FILE_DIRECTORY)){ $is_error = true; $error_mg[] = 'You must have write access (0755 or 777 - depending on your system settings) to '.EI_CONFIG_FILE_DIRECTORY.' folder before you start installation!
'; } ?> Installation Guide
 

New Installation of !

  
'; } } ?>
Getting System Info
 
  • PHP Version:
  • Database System: MySQL -
  • Server OS:
  • Build Date:
  • Server API:
  • Virtual Directory Support:
  • Safe Mode:
  • Asp Tags:
  • Short Open Tag:
  • Session Support:
  • Magic Quotes GPC:
  • Magic Quotes RunTime:
  • Magic Quotes SyBase:
 
Click on Start button to continue.
• '.$msg.'