mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 13:26:07 +03:00
Updated include paths for examples
This commit is contained in:
parent
5818a79e67
commit
8057604241
@ -35,7 +35,7 @@ if (PHP_SAPI == 'cli')
|
|||||||
die('This example should only be run from a Web Browser');
|
die('This example should only be run from a Web Browser');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Change these values to select the Rendering library that you wish to use
|
// Change these values to select the Rendering library that you wish to use
|
||||||
|
@ -35,7 +35,7 @@ if (PHP_SAPI == 'cli')
|
|||||||
die('This example should only be run from a Web Browser');
|
die('This example should only be run from a Web Browser');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ if (PHP_SAPI == 'cli')
|
|||||||
die('This example should only be run from a Web Browser');
|
die('This example should only be run from a Web Browser');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** Include PHPExcel_IOFactory */
|
/** Include PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
// Save Excel 2007 file
|
// Save Excel 2007 file
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite;
|
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite;
|
||||||
PHPExcel_Settings::setCacheStorageMethod($cacheMethod);
|
PHPExcel_Settings::setCacheStorageMethod($cacheMethod);
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite3;
|
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite3;
|
||||||
PHPExcel_Settings::setCacheStorageMethod($cacheMethod);
|
PHPExcel_Settings::setCacheStorageMethod($cacheMethod);
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_in_memory_gzip;
|
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_in_memory_gzip;
|
||||||
if (!PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) {
|
if (!PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) {
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -34,7 +34,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel_IOFactory */
|
/** Include PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
if (!file_exists("05featuredemo.xlsx")) {
|
if (!file_exists("05featuredemo.xlsx")) {
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
echo date('H:i:s').' Create new PHPExcel object'.EOL;
|
echo date('H:i:s').' Create new PHPExcel object'.EOL;
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// List functions
|
// List functions
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
// Save Excel 95 file
|
// Save Excel 95 file
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -38,7 +38,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Write to CSV format" , EOL;
|
echo date('H:i:s') , " Write to CSV format" , EOL;
|
||||||
|
@ -38,7 +38,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Write to HTML format" , EOL;
|
echo date('H:i:s') , " Write to HTML format" , EOL;
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// List functions
|
// List functions
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel_IOFactory */
|
/** Include PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
if (!file_exists("14excel5.xls")) {
|
if (!file_exists("14excel5.xls")) {
|
||||||
|
@ -38,7 +38,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
include "05featuredemo.inc.php";
|
include "05featuredemo.inc.php";
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
// Change these values to select the Rendering library that you wish to use
|
// Change these values to select the Rendering library that you wish to use
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -36,7 +36,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
// Check prerequisites
|
// Check prerequisites
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Change these values to select the PDF Rendering library that you wish to use
|
// Change these values to select the PDF Rendering library that you wish to use
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Read from Excel5 (.xls) template
|
// Read from Excel5 (.xls) template
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
if (!file_exists("05featuredemo.xlsx")) {
|
if (!file_exists("05featuredemo.xlsx")) {
|
||||||
|
@ -33,7 +33,7 @@ ini_set('display_startup_errors', TRUE);
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Set timezone
|
// Set timezone
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$inputFileType = 'Excel5';
|
$inputFileType = 'Excel5';
|
||||||
|
@ -35,7 +35,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$inputFileType = 'Excel2007';
|
$inputFileType = 'Excel2007';
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
include 'PHPExcel/IOFactory.php';
|
include 'PHPExcel/IOFactory.php';
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** PHPExcel */
|
/** PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
include 'PHPExcel/IOFactory.php';
|
include 'PHPExcel/IOFactory.php';
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
include 'PHPExcel/IOFactory.php';
|
include 'PHPExcel/IOFactory.php';
|
||||||
|
@ -37,7 +37,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
include 'PHPExcel/IOFactory.php';
|
include 'PHPExcel/IOFactory.php';
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -34,7 +34,7 @@ date_default_timezone_set('Europe/London');
|
|||||||
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
|
|
||||||
// Create new PHPExcel object
|
// Create new PHPExcel object
|
||||||
|
@ -10,7 +10,7 @@ define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** Include PHPExcel */
|
/** Include PHPExcel */
|
||||||
require_once '../Classes/PHPExcel.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel.php';
|
||||||
|
|
||||||
echo date('H:i:s') , " Create new PHPExcel object" , EOL;
|
echo date('H:i:s') , " Create new PHPExcel object" , EOL;
|
||||||
$objPHPExcel = new PHPExcel();
|
$objPHPExcel = new PHPExcel();
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from Excel2003XML file" , PHP_EOL;
|
echo date('H:i:s') , " Load from Excel2003XML file" , PHP_EOL;
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from Gnumeric file" , PHP_EOL;
|
echo date('H:i:s') , " Load from Gnumeric file" , PHP_EOL;
|
||||||
$callStartTime = microtime(true);
|
$callStartTime = microtime(true);
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from OOCalc file" , PHP_EOL;
|
echo date('H:i:s') , " Load from OOCalc file" , PHP_EOL;
|
||||||
$callStartTime = microtime(true);
|
$callStartTime = microtime(true);
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h1>Quadratic Equation Solver</h1>
|
<h1>Quadratic Equation Solver</h1>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
/** Include path **/
|
/** Include path **/
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../Classes/');
|
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../Classes/');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h1>Quadratic Equation Solver</h1>
|
<h1>Quadratic Equation Solver</h1>
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from SYLK file" , PHP_EOL;
|
echo date('H:i:s') , " Load from SYLK file" , PHP_EOL;
|
||||||
|
@ -31,7 +31,7 @@ error_reporting(E_ALL);
|
|||||||
date_default_timezone_set('Europe/London');
|
date_default_timezone_set('Europe/London');
|
||||||
|
|
||||||
/** PHPExcel_IOFactory */
|
/** PHPExcel_IOFactory */
|
||||||
require_once '../Classes/PHPExcel/IOFactory.php';
|
require_once dirname(__FILE__) . '/../Classes/PHPExcel/IOFactory.php';
|
||||||
|
|
||||||
|
|
||||||
echo date('H:i:s') , " Load from XML file" , PHP_EOL;
|
echo date('H:i:s') , " Load from XML file" , PHP_EOL;
|
||||||
|
Loading…
Reference in New Issue
Block a user