PageRenderTime 156ms queryFilters 41ms Sphinxql 352ms GetByIds 581ms meta 0ms repositoryFilters 73ms languageFilters 4ms sourceFilters 52ms

13,322 results for 'php glob repo:mvriel/Docblox' (156 ms)

Source

Language

Repository

fsource_PHPExcel__PHPExcelSharedJAMAdocsdownload.php.html git://github.com/shimondoodkin/node_spreadsheet.git | HTML | 140 lines
60<h1 align="center">Source for file download.php</h1>
61<p>Documentation is available at <a href="../PHPExcel/_PHPExcel---Shared---JAMA---docs---download.php.html">download.php</a></p>
62<div class="src-code">
96<li><div class="src-line"><a name="a34"></a>&nbsp;&nbsp;<span class="src-comm">//&nbsp;create&nbsp;$pkgName&nbsp;archive&nbsp;under&nbsp;$pkgName&nbsp;folder</span></div></li>
97<li><div class="src-line"><a name="a35"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/*.php</span><span class="src-str">&quot;</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
98<li><div class="src-line"><a name="a36"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/*.TXT</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
98<li><div class="src-line"><a name="a36"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/*.TXT</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
99<li><div class="src-line"><a name="a37"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/docs/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
100<li><div class="src-line"><a name="a38"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/docs/includes/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
101<li><div class="src-line"><a name="a39"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/examples/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
102<li><div class="src-line"><a name="a40"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/tests/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;&nbsp;&nbsp;</span></div></li>
103<li><div class="src-line"><a name="a41"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/utils/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;</span></div></li>
122<li><div class="src-line"><a name="a60"></a>&lt;ul&gt;</div></li>
123<li><div class="src-line"><a name="a61"></a>&nbsp;&lt;li&gt;&lt;a&nbsp;href='<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$_SERVER</span><span class="src-sym">[</span><span class="src-str">'PHP_SELF'</span><span class="src-sym">]</span>.<span class="src-str">&quot;?op=download&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>'&gt;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$tarName&nbsp;</span><span class="src-php">?&gt;</span>&lt;/a&gt;&lt;/li&gt;</div></li>
124<li><div class="src-line"><a name="a62"></a>&lt;/ul&gt;</div></li>
fsource_PHPExcel__PHPExcelSharedJAMAdocsdownload.php.html git://github.com/shimondoodkin/node_spreadsheet.git | HTML | 140 lines
60<h1 align="center">Source for file download.php</h1>
61<p>Documentation is available at <a href="../PHPExcel/_PHPExcel---Shared---JAMA---docs---download.php.html">download.php</a></p>
62<div class="src-code">
96<li><div class="src-line"><a name="a34"></a>&nbsp;&nbsp;<span class="src-comm">//&nbsp;create&nbsp;$pkgName&nbsp;archive&nbsp;under&nbsp;$pkgName&nbsp;folder</span></div></li>
97<li><div class="src-line"><a name="a35"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/*.php</span><span class="src-str">&quot;</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
98<li><div class="src-line"><a name="a36"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/*.TXT</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
98<li><div class="src-line"><a name="a36"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/*.TXT</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
99<li><div class="src-line"><a name="a37"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/docs/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
100<li><div class="src-line"><a name="a38"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/docs/includes/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
101<li><div class="src-line"><a name="a39"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/examples/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li>
102<li><div class="src-line"><a name="a40"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/tests/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;&nbsp;&nbsp;</span></div></li>
103<li><div class="src-line"><a name="a41"></a>&nbsp;&nbsp;<span class="src-var">$files&nbsp;</span>=&nbsp;<a href="http://www.php.net/array_merge">array_merge</a><span class="src-sym">(</span><span class="src-var">$files</span><span class="src-sym">,&nbsp;</span><a href="http://www.php.net/glob">glob</a><span class="src-sym">(</span><span class="src-str">&quot;</span><span class="src-str"><span class="src-var">$pkgName</span>/utils/*.php</span><span class="src-str">&quot;</span><span class="src-sym">))</span><span class="src-sym">;&nbsp;&nbsp;&nbsp;&nbsp;</span></div></li>
122<li><div class="src-line"><a name="a60"></a>&lt;ul&gt;</div></li>
123<li><div class="src-line"><a name="a61"></a>&nbsp;&lt;li&gt;&lt;a&nbsp;href='<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$_SERVER</span><span class="src-sym">[</span><span class="src-str">'PHP_SELF'</span><span class="src-sym">]</span>.<span class="src-str">&quot;?op=download&quot;</span><span class="src-sym">;&nbsp;</span><span class="src-php">?&gt;</span>'&gt;<span class="src-php">&lt;?php&nbsp;</span>echo&nbsp;<span class="src-var">$tarName&nbsp;</span><span class="src-php">?&gt;</span>&lt;/a&gt;&lt;/li&gt;</div></li>
124<li><div class="src-line"><a name="a62"></a>&lt;/ul&gt;</div></li>
php_zip.c https://github.com/weltling/php_zip.git | C | 3,158 lines
515/* This is used for checking validity of passed flags (passing invalid flags causes segfault in glob()!! */
516#define GLOB_AVAILABLE_FLAGS (0 | GLOB_BRACE | GLOB_MARK | GLOB_NOSORT | GLOB_NOCHECK | GLOB_NOESCAPE | GLOB_ERR | GLOB_ONLYDIR)
517
561	globbuf.gl_offs = 0;
562	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
563#ifdef GLOB_NOMATCH
1090
1091#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION > 5)
1092	zend_object_std_dtor(&intern->zo TSRMLS_CC);
1128
1129#if ((PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2))
1130	zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
1805/* {{{ proto bool ZipArchive::addGlob(string pattern[,int flags [, array options]])
1806Add files matching the glob pattern. See php's glob for the pattern syntax. */
1807static ZIPARCHIVE_METHOD(addGlob)
oxutilsTest.php https://github.com/GM-Alex/oxideshop_ce.git | PHP | 1,391 lines
797        //checking if test files were written to temp dir
798        $this->assertEquals(1, count(glob("{$sTmpDir}/*{$sRemoveTemplate}.php")), "File written " . $sRemoveTemplate);
799        $this->assertEquals(1, count(glob("{$sTmpDir}/*{$sLeaveTemplate}.php")), "File written " . $sLeaveTemplate);
804        $this->assertEquals(0, count(glob("{$sTmpDir}/*{$sRemoveTemplate}.php")), "File removed " . $sRemoveTemplate);
805        $this->assertEquals(1, count(glob("{$sTmpDir}/*{$sLeaveTemplate}.php")), "File left " . $sLeaveTemplate);
806    }
836        touch('misc/actions_main.inc.php', time(), time());
837        $this->assertEquals('misc/actions_main.inc.php', oxRegistry::getUtils()->GetRemoteCachePath('http://www.blafoo.null', 'misc/actions_main.inc.php'));
838        //ensure that file is older than 24h
839        touch('misc/actions_main.inc.php', time() - 90000, time() - 90000);
840        $this->assertEquals('misc/actions_main.inc.php', oxRegistry::getUtils()->GetRemoteCachePath(oxRegistry::getConfig()->getShopURL(), 'misc/actions_main.inc.php'));
841        touch('misc/actions_main.inc.php', time() - 90000, time() - 90000);
841        touch('misc/actions_main.inc.php', time() - 90000, time() - 90000);
842        $this->assertEquals('misc/actions_main.inc.php', oxRegistry::getUtils()->GetRemoteCachePath('http://www.blafoo.null', 'misc/actions_main.inc.php'));
843        $this->assertEquals(false, oxRegistry::getUtils()->GetRemoteCachePath('http://www.blafoo.null', 'misc/blafoo.test'));
main.php git://github.com/TheRealKerni/HockeyKit.git | PHP | 660 lines
1<?php
2
2
3## index.php
4## 
30require_once('config.inc');
31require_once('helper.php');
32require_once('logger.php');
32require_once('logger.php');
33require_once('router.php');
34require_once('devicedetector.php');
156        if ($platform) {
157            require_once(strtolower("platforms/abstract.php"));
158            $included = include_once(strtolower("platforms/$platform.php"));
303        // iOS
304        $ipa        = @array_shift(glob($this->appDirectory.$bundleidentifier . '/*' . self::FILE_IOS_IPA));
305        $plist      = @array_shift(glob($this->appDirectory.$bundleidentifier . '/*' . self::FILE_IOS_PLIST));
php_zip.c git://github.com/infusion/PHP.git | C | 2,859 lines
200
201#if defined(PHP_WIN32) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1)
202		char *e;
530	globbuf.gl_offs = 0;
531	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
532#ifdef GLOB_NOMATCH
1031
1032#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION > 5)
1033	zend_object_std_dtor(&intern->zo TSRMLS_CC);
1067
1068#if ((PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2))
1069	zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
1716/* {{{ proto bool ZipArchive::addGlob(string pattern[,int flags [, array options]])
1717Add files matching the glob pattern. See php's glob for the pattern syntax. */
1718static ZIPARCHIVE_METHOD(addGlob)
php_zip.c git://github.com/php/php-src.git | C | 3,380 lines
195	/* let see if the path already exists */
196	if (php_stream_stat_path_ex(file_dirname_fullpath, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) {
197		ret = php_stream_mkdir(file_dirname_fullpath, 0777,  PHP_STREAM_MKDIR_RECURSIVE|REPORT_ERRORS, NULL);
590/* This is used for checking validity of passed flags (passing invalid flags causes segfault in glob()!! */
591#define GLOB_AVAILABLE_FLAGS (0 | GLOB_BRACE | GLOB_MARK | GLOB_NOSORT | GLOB_NOCHECK | GLOB_NOESCAPE | GLOB_ERR | GLOB_ONLYDIR)
592
636	globbuf.gl_offs = 0;
637	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
638#ifdef GLOB_NOMATCH
1732	if (type == 1) {
1733		found = php_zip_glob(ZSTR_VAL(pattern), ZSTR_LEN(pattern), glob_flags, return_value);
1734	} else {
1813/* {{{ proto bool ZipArchive::addGlob(string pattern[,int flags [, array options]])
1814Add files matching the glob pattern. See php's glob for the pattern syntax. */
1815static ZIPARCHIVE_METHOD(addGlob)
home.php https://bitbucket.org/daao87/personal-site.git | PHP | 191 lines
1<?php
2session_start();
4	header("Location: index.php");
5	die("You are not logged in. Please go to <a href='index.php'>login</a>");
6}
6}
7$valid_ext = array("TXT","txt","htm","HTM","html","HTML","shtm","SHTM","shtml","SHTML","pl","PL","cgi","CGI","CSS","css","conf","CONF","ASP","asp","JSP","jsp","js","JS","php","PHP","php3","PHP3","PHTML","phtml","ini","INI","cfm","CFM","inc","INC","xml","XML");
8
9function drawFolder($dir,$valid_ext){
10	drawLinks(glob($dir."*.*"),$valid_ext);
11	$folders = glob($dir . "*");
12	foreach($folders as $folder){
13		drawLinks(glob($folder."/" . "*.*"),$valid_ext);
14	}
150			if (is_writable($folder."/settings.php")) {
151				echo '<a class="pageLink" title="Edit now!" href="code-editor.php?p='.$folder."/settings.php".'">'.str_replace("../plugins/","",$folder).'</a><br />';
152			}
it-file-utility.php https://github.com/ArzuA/gitwordpress.git | PHP | 884 lines
332				if ( is_dir( $search_path ) ) {
333					$files = glob( "$search_path/{$args['glob_pattern']}" );
334					
720			
721			$files = array_merge( glob( "$path/*" ), glob( "$path/.*" ) );
722			$contents = array();
769			if ( true === $args['create_index'] )
770				ITFileUtility::write( "$directory/index.php", '<?php // Silence is golden.' );
771			
815				
816				$files = array_diff( array_merge( glob( $source . '/.*' ), glob( $source . '/*' ) ), array( $source . '/.', $source . '/..' ) );
817				
837			
838			$files = array_merge( glob( "$path/*" ), glob( "$path/.*" ) );
839			$contents = array();
action.php https://code.google.com/p/openpom/ | PHP | 250 lines
70                
71          <span class="icon-btn icon-<?php echo $global_notif ?> icon-bg-<?php echo $global_notif ?>"
72                title="<?php echo ucfirst(lang($MYLANG, $global_notif))?>"
72                title="<?php echo ucfirst(lang($MYLANG, $global_notif))?>"
73                onclick="clicked_generic_action('<?php echo $global_notif ?>', false, 'nagios');"></span>&thinsp;
74          
214            <span class="icon-btn icon-prev"
215                  onclick="window.location.href='<?php echo $MY_GET_NO_NEXT?>&prev=<?php echo $FIRST-$LINE_BY_PAGE?>';"
216                  title="<?php echo ucfirst(lang($MYLANG, 'prev'))?>"></span>
222            <span class="icon-btn icon-next"
223                  onclick="window.location.href='<?php echo $MY_GET_NO_NEXT?>&next=<?php echo $FIRST+$LINE_BY_PAGE?>';"
224                  title="<?php echo ucfirst(lang($MYLANG, 'next'))?>"></span>
237          <?php echo ucfirst(lang($MYLANG, 'refreshing')) ?>
238          <span id="refreshspan" style="vertical-align: baseline;"><?php echo $REFRESHTIME; ?></span>&#160;<?php echo lang($MYLANG, 'second') ?>
239        </td>
php_zip.cpp https://Phalanger.svn.codeplex.com/svn | C++ | 2,804 lines
197
198#if defined(PHP_WIN32) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1)
199		char *e;
505	globbuf.gl_offs = 0;
506	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
507#ifdef GLOB_NOMATCH
1003
1004#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION > 5)
1005	zend_object_std_dtor(&intern->zo TSRMLS_CC);
1039
1040#if ((PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2))
1041	zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
1683/* {{{ proto bool addGlob(string pattern[,int flags [, array options]])
1684Add files matching the glob pattern. See php's glob for the pattern syntax. */
1685static ZIPARCHIVE_METHOD(addGlob)
php_zip.c git://github.com/vpj/PHP-Extension-API.git | C | 2,692 lines
197
198#if defined(PHP_WIN32) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1)
199		char *e;
505	globbuf.gl_offs = 0;
506	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
507#ifdef GLOB_NOMATCH
1003
1004#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION > 5)
1005	zend_object_std_dtor(&intern->zo TSRMLS_CC);
1039
1040#if ((PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2))
1041	zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
1680/* {{{ proto bool addGlob(string pattern[,int flags [, array options]])
1681Add files matching the glob pattern. See php's glob for the pattern syntax. */
1682static ZIPARCHIVE_METHOD(addGlob)
php_zip.c git://pkgs.fedoraproject.org/php | C | 3,121 lines
731/* This is used for checking validity of passed flags (passing invalid flags causes segfault in glob()!! */
732#define GLOB_AVAILABLE_FLAGS (0 | GLOB_BRACE | GLOB_MARK | GLOB_NOSORT | GLOB_NOCHECK | GLOB_NOESCAPE | GLOB_ERR | GLOB_ONLYDIR)
733
777	globbuf.gl_offs = 0;
778	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
779#ifdef GLOB_NOMATCH
1292
1293#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION > 5)
1294	zend_object_std_dtor(&intern->zo TSRMLS_CC);
1327
1328#if ((PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 1 && PHP_RELEASE_VERSION > 2))
1329	zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
1976/* {{{ proto bool ZipArchive::addGlob(string pattern[,int flags [, array options]])
1977Add files matching the glob pattern. See php's glob for the pattern syntax. */
1978static ZIPARCHIVE_METHOD(addGlob)
dir.c https://github.com/cuiplay/dezend.git | C | 512 lines
56#ifdef ZTS
57#define DIRG(v) TSRMG(dir_globals_id, php_dir_globals *, v)
58int dir_globals_id;
60#define DIRG(v) (dir_globals.v)
61php_dir_globals dir_globals;
62#endif
130#ifdef ZTS
131	ts_allocate_id(&dir_globals_id, sizeof(php_dir_globals), NULL, NULL);
132#endif
158#ifdef GLOB_ERR
159	REGISTER_LONG_CONSTANT("GLOB_ERR", GLOB_ERR, CONST_CS | CONST_PERSISTENT);
160#endif
398	globbuf.gl_offs = 0;
399	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
400#ifdef GLOB_NOMATCH
download.php https://PHPExcel.svn.codeplex.com/svn | PHP | 66 lines
34  // create $pkgName archive under $pkgName folder
35  $files = glob("$pkgName/*.php");
36  $files = array_merge($files, glob("$pkgName/*.TXT"));
36  $files = array_merge($files, glob("$pkgName/*.TXT"));
37  $files = array_merge($files, glob("$pkgName/docs/*.php"));
38  $files = array_merge($files, glob("$pkgName/docs/includes/*.php"));
38  $files = array_merge($files, glob("$pkgName/docs/includes/*.php"));
39  $files = array_merge($files, glob("$pkgName/examples/*.php"));
40  $files = array_merge($files, glob("$pkgName/tests/*.php"));  
40  $files = array_merge($files, glob("$pkgName/tests/*.php"));  
41  $files = array_merge($files, glob("$pkgName/utils/*.php"));    
42  
60<ul>
61 <li><a href='<?php echo $_SERVER['PHP_SELF']."?op=download"; ?>'><?php echo $tarName ?></a></li>
62</ul>
dir.c git://github.com/infusion/PHP.git | C | 607 lines
58#ifdef ZTS
59#define DIRG(v) TSRMG(dir_globals_id, php_dir_globals *, v)
60int dir_globals_id;
62#define DIRG(v) (dir_globals.v)
63php_dir_globals dir_globals;
64#endif
139#ifdef ZTS
140	ts_allocate_id(&dir_globals_id, sizeof(php_dir_globals), NULL, NULL);
141#endif
197/* This is used for checking validity of passed flags (passing invalid flags causes segfault in glob()!! */
198#define GLOB_AVAILABLE_FLAGS (0 | GLOB_BRACE | GLOB_MARK | GLOB_NOSORT | GLOB_NOCHECK | GLOB_NOESCAPE | GLOB_ERR | GLOB_ONLYDIR)
199
477	globbuf.gl_offs = 0;
478	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
479#ifdef GLOB_NOMATCH
Files.php git://github.com/mvriel/Docblox.git | PHP | 517 lines
1<?php
2/**
38     *     array(
39     *         0 => <GLOB>
40     *         1 => <COUNT of USES>
48     * @var string[] Array containing a list of allowed line endings;
49     *               defaults to php, php3 and phtml.
50     */
50     */
51    protected $allowed_extensions = array('php', 'php3', 'phtml');
52
103    /**
104     * Sets a list of allowed extensions; if not used php, php3 and phtml
105     * is assumed.
403     *
404     * @see PhpDocumentor/phpDocumentor/Io.php
405     *
Files.php git://github.com/mvriel/Docblox.git | text | 0 lines
42     * @var string[] Array containing a list of allowed line endings;
43     *               defaults to php, php3 and phtml.
44     */
44     */
45    protected $allowed_extensions = array('php', 'php3', 'phtml');
46
97    /**
98     * Sets a list of allowed extensions; if not used php, php3 and phtml
99     * is assumed.
167        // i.e. if only path `src` us given and no PHP files reside there, but
168        // they do reside in `src/php` then with this code `src` will remain
169        // root so that ignore statements work as expected. Without this the
379     *
380     * @see PhpDocumentor/phpDocumentor/Io.php
381     *
dir.c git://github.com/php/php-src.git | C | 585 lines
51#ifdef ZTS
52#define DIRG(v) ZEND_TSRMG(dir_globals_id, php_dir_globals *, v)
53int dir_globals_id;
55#define DIRG(v) (dir_globals.v)
56php_dir_globals dir_globals;
57#endif
118#ifdef ZTS
119	ts_allocate_id(&dir_globals_id, sizeof(php_dir_globals), NULL, NULL);
120#endif
180/* This is used for checking validity of passed flags (passing invalid flags causes segfault in glob()!! */
181#define GLOB_AVAILABLE_FLAGS (0 | GLOB_BRACE | GLOB_MARK | GLOB_NOSORT | GLOB_NOCHECK | GLOB_NOESCAPE | GLOB_ERR | GLOB_ONLYDIR)
182
456	globbuf.gl_offs = 0;
457	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
458#ifdef GLOB_NOMATCH
categories.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 539 lines
1<?php
2
23
24	nova_redirect("index.php?page=error&error=11","error/11");
25
33		
34		template_hook("pages/admin/categories.template.php", "warn");
35	}
42			$query212 = "select ID from {$db_prefix}posts WHERE FORUM_ID='$category_post_id'" ;
43			$result212 = mysql_query($query212) or die("delete.php - Error in query: $query212") ;                                  
44			while ($results212 = mysql_fetch_array($result212))
181			// perform auto-cache
182			include "scripts/php/auto_cache.php";
183			
267		// perform auto-cache
268		include "scripts/php/auto_cache.php";	
269
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21