Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in D:\Apache\htdocs\grid-excel-php\CreateExcel.php on line 3

Warning: require_once(__DIR__/gridExcelGenerator.php) [function.require-once]: failed to open stream: No such file or directory in D:\Apache\htdocs\grid-excel-php\CreateExcel.php on line 7

Fatal error: require_once() [function.require]: Failed opening required '__DIR__/gridExcelGenerator.php' (include_path='.;C:\php5\pear') in D:\Apache\htdocs\grid-excel-php\CreateExcel.php on line 7