PageRenderTime 1394ms queryFilters 41ms Sphinxql 987ms GetByIds 339ms meta 0ms repositoryFilters 7ms languageFilters 16ms sourceFilters 50ms

501,203 results for 'php empty repo:udeshika/fake_twitter' (1394 ms)

Source

Language

Repository

v1.php https://github.com/karolyfl/agilebill.git | PHP | 1,618 lines
16 * @copyright  1997-2008 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.74 2008/01/03 20:26:36 cellog Exp $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://github.com/leandropinto/agilebill.git | PHP | 1,618 lines
16 * @copyright  1997-2008 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.74 2008/01/03 20:26:36 cellog Exp $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://github.com/organicinternet/magento-design-training.git | PHP | 1,618 lines
16 * @copyright  1997-2008 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.74 2008/01/03 20:26:36 cellog Exp $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
install.php https://github.com/item/sugarcrm_dev.git | PHP | 586 lines
1<?php
2 if(!defined('sugarEntry'))define('sugarEntry', true);
39if (version_compare(phpversion(),'5.2.0') < 0) {
40	$msg = 'Minimum PHP version required is 5.2.0.  You are using PHP version  '. phpversion();
41    die($msg);
50require_once('include/SugarLogger/LoggerManager.php');
51require_once('sugar_version.php');
52require_once('include/utils.php');
284// Add check here to see if a silent install config file exists; if so then launch silent installer
285elseif ( is_file('config_si.php') && empty($sugar_config['installer_locked'])) {
286    echo <<<EOHTML
326
327$exclude_files = array('register.php','download_modules.php');
328if(isset($next_step) && isset($workflow[$next_step]) && !in_array($workflow[$next_step],$exclude_files) && isset($sugar_config['installer_locked']) && $sugar_config['installer_locked'] == true) {
486        // check to see if installer has been disabled
487        if(is_readable('config.php') && (filesize('config.php') > 0)) {
488            include_once('config.php');
v1.php https://bitbucket.org/Yason/hg-armory | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://bitbucket.org/AndreasLoew/piecrust | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://bitbucket.org/ywarnier/chamilo-dev | PHP | 1,712 lines
243/**
244 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
245 */
1034                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1035                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1036                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1167                }
1168                if ($d['type'] == 'php' && ! empty($d['name']))
1169                {
1172                }
1173                elseif ($d['type'] != 'php' && empty($d['name']))
1174                {
1176                }
1177                if ($d['type'] == 'php' && empty($d['version']))
1178                {
v1.php https://bitbucket.org/ywarnier/chamilo-dev | PHP | 1,706 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1028                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1029                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1030                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1161                }
1162                if ($d['type'] == 'php' && ! empty($d['name']))
1163                {
1166                }
1167                elseif ($d['type'] != 'php' && empty($d['name']))
1168                {
1170                }
1171                if ($d['type'] == 'php' && empty($d['version']))
1172                {
v1.php https://bitbucket.org/gugli/chamilo-dev | PHP | 1,712 lines
243/**
244 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
245 */
1034                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1035                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1036                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1167                }
1168                if ($d['type'] == 'php' && ! empty($d['name']))
1169                {
1172                }
1173                elseif ($d['type'] != 'php' && empty($d['name']))
1174                {
1176                }
1177                if ($d['type'] == 'php' && empty($d['version']))
1178                {
v1.php https://bitbucket.org/gugli/chamilo-dev | PHP | 1,706 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1028                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1029                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1030                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1161                }
1162                if ($d['type'] == 'php' && ! empty($d['name']))
1163                {
1166                }
1167                elseif ($d['type'] != 'php' && empty($d['name']))
1168                {
1170                }
1171                if ($d['type'] == 'php' && empty($d['version']))
1172                {
role-scoper_init.php https://bitbucket.org/broderboy/nycendurance-wordpress | PHP | 1,043 lines
357	if ( ! isset( $optval ) ) {
358		if ( ! empty($scoper_default_options) && ! empty( $scoper_default_options[$option_basename] ) )
359			$optval = $scoper_default_options[$option_basename];
891
892	if ( ! empty( $GLOBALS['post'] ) && is_object($GLOBALS['post']) && ! empty( $GLOBALS['post']->post_type ) ) {
893		$object_type = $GLOBALS['post']->post_type;
903		
904	} elseif ( in_array( $pagenow, array( 'post-new.php', 'edit.php' ) ) ) {
905		$object_type = ! empty( $_GET['post_type'] ) ? $_GET['post_type'] : 'post';
909
910	} elseif ( in_array( $pagenow, array( 'admin-ajax.php' ) ) && ! empty( $_REQUEST['taxonomy'] ) ) {
911		$object_type = $_REQUEST['taxonomy'];
916				
917	} elseif ( ! empty( $_GET['post'] ) ) {	 // post.php
918		if ( $_post = get_post( $_GET['post'] ) )
cap-interceptor_rs.php https://bitbucket.org/broderboy/nycendurance-wordpress | PHP | 1,009 lines
193		if ( ( 'edit_theme_options' == $orig_reqd_caps[0] ) && empty( $wp_blogcaps['edit_theme_options'] ) ) {
194			if ( in_array( $GLOBALS['pagenow'], array( 'nav-menus.php', 'admin-ajax.php' ) ) || $doing_admin_menus ) {
195				$key = array_search( 'edit_theme_options', $rs_reqd_caps );
285
286						if ( ( false !== $key ) && ! $doing_admin_menus && in_array( $pagenow, array( 'edit.php', 'post.php', 'post-new.php', 'admin-ajax.php', 'upload.php', 'media.php' ) ) ) {				
287							$rs_reqd_caps[$key] = $object_type_obj->cap->$post_cap_name;
353			if ( ! $doing_admin_menus ) {
354				if ( ! empty($_REQUEST['action']) && in_array( $pagenow, array('edit.php','edit-tags.php') ) )
355					$this->skip_id_generation = true;
443			
444			if ( defined('RVY_VERSION') && in_array( $pagenow, array('edit.php', 'edit-tags.php', 'admin-ajax.php') ) && ! empty($_REQUEST['action']) ) {
445				$rs_reqd_caps = Rvy_Helper::fix_table_edit_reqd_caps( $rs_reqd_caps, $args[0], $_post, $object_type_obj );
552
553		$maybe_attachment = in_array( $pagenow, array( 'upload.php', 'media.php' ) );
554
v1.php https://bitbucket.org/fulopattila122/konekt-framework | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://bitbucket.org/fulopattila122/konekt-framework2 | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://bitbucket.org/cbenelug/chamilo | PHP | 1,706 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1028                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1029                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1030                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1161                }
1162                if ($d['type'] == 'php' && ! empty($d['name']))
1163                {
1166                }
1167                elseif ($d['type'] != 'php' && empty($d['name']))
1168                {
1170                }
1171                if ($d['type'] == 'php' && empty($d['version']))
1172                {
v1.php https://bitbucket.org/cbenelug/chamilo | PHP | 1,712 lines
243/**
244 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
245 */
1034                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1035                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1036                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1167                }
1168                if ($d['type'] == 'php' && ! empty($d['name']))
1169                {
1172                }
1173                elseif ($d['type'] != 'php' && empty($d['name']))
1174                {
1176                }
1177                if ($d['type'] == 'php' && empty($d['version']))
1178                {
footer.inc.php git://github.com/jyr/MNPP.git | PHP | 223 lines
1<?php
2/* vim: set expandtab sw=4 ts=4 sts=4: */
44 * @version $Id$
45 * @package phpMyAdmin
46 */
46 */
47if (! defined('PHPMYADMIN')) {
48    exit;
53 */
54require_once './libraries/relation.lib.php';
55
55
56if (! PMA_isValid($_REQUEST['no_history']) && empty($GLOBALS['error_message'])
57 && ! empty($GLOBALS['sql_query'])) {
200// profiling deactivated due to licensing issues
201if (! empty($GLOBALS['cfg']['DBG']['php'])
202 && ! empty($GLOBALS['cfg']['DBG']['profile']['enable'])) {
update-core.php https://git01.codeplex.com/officialwp | PHP | 880 lines
1<?php
2/**
26'wp-admin/import-mt.php',
27'wp-admin/import-rss.php',
28'wp-admin/import-textpattern.php',
644
645	$php_version    = phpversion();
646	$mysql_version  = $wpdb->db_version();
648	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
649	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
650	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
658	if ( !$mysql_compat && !$php_compat )
659		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) );
660	elseif ( !$php_compat )
660	elseif ( !$php_compat )
661		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
662	elseif ( !$mysql_compat )
alipay.php https://bitbucket.org/johnroyer/phpwind8.7.git | PHP | 132 lines
1<?php
2require_once('global.php');
3require_once(R_P.'require/posthost.php');
4//* include_once pwCache::getPath(D_P.'data/bbscache/ol_config.php');
5pwCache::getData(D_P.'data/bbscache/ol_config.php');
7S::gp(array('action','out_trade_no','trade_status','buyer_email','notify_id','extra_common_param'));
8$ret_url = $extra_common_param ? getExtra($extra_common_param) : 'userpay.php';
9!empty($_POST) && $_GET = $_POST;
11
12if ($action || empty($ol_alipaykey) || empty($ol_alipaypartnerID)) {
13	$ol_alipaypartnerID = '2088301270630891';
24	}
25	$veryfy_result1 = PostHost("http://pay.phpwind.net/pay/alipay_notify.php", $url, 'POST');
26} else {
41
42if (empty($action)) {
43
post.php https://bitbucket.org/johnroyer/phpwind8.7.git | PHP | 305 lines
1<?php
2define('SCR','post');
5}
6require_once('global.php');
7L::loadClass('forum', 'forum', false);
8L::loadClass('post', 'forum', false);
9//* include_once pwCache::getPath(D_P.'data/bbscache/cache_post.php');
10pwCache::getData(D_P.'data/bbscache/cache_post.php');
14
15empty($fid) && Showmsg('undefined_action');
16$pwforum = new PwForum($fid);
32$replacedb = array();
33$secondurl = "thread.php?fid=$fid";
34!$action && $action = "new";
84		$modelid = $pcid = $actmid = 0;
85		if (empty($special) && $pwforum->foruminfo['allowtype'] > 0) {
86			$special = (int)log($pwforum->foruminfo['allowtype'],2);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21