421,407 results for 'php empty repo:ilyabazhenov/speakplace' (560 ms)
update-core.php https://gitlab.com/tulipsnepal/siwi.git | PHP | 1,260 lines
826 827 $php_version = phpversion(); 828 $mysql_version = $wpdb->db_version(); 830 $development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' ) ); // a dash in the version indicates a Development release 831 $php_compat = version_compare( $php_version, $required_php_version, '>=' ); 832 if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) 840 if ( !$mysql_compat && !$php_compat ) 841 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 ) ); 842 elseif ( !$php_compat ) 842 elseif ( !$php_compat ) 843 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 ) ); 844 elseif ( !$mysql_compat ) 915 if ( ! is_wp_error( $result ) ) { 916 if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) { 917 $wp_filesystem->delete( $from, true );update-core.php https://gitlab.com/ughimire/ekabita.git | PHP | 1,218 lines
787 788 $php_version = phpversion(); 789 $mysql_version = $wpdb->db_version(); 791 $development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' ) ); // a dash in the version indicates a Development release 792 $php_compat = version_compare( $php_version, $required_php_version, '>=' ); 793 if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) 801 if ( !$mysql_compat && !$php_compat ) 802 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 ) ); 803 elseif ( !$php_compat ) 803 elseif ( !$php_compat ) 804 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 ) ); 805 elseif ( !$mysql_compat ) 876 if ( ! is_wp_error( $result ) ) { 877 if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) { 878 $wp_filesystem->delete( $from, true );update-core.php https://gitlab.com/webteam/job_aag.git | PHP | 1,257 lines
826 827 $php_version = phpversion(); 828 $mysql_version = $wpdb->db_version(); 830 $development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' ) ); // a dash in the version indicates a Development release 831 $php_compat = version_compare( $php_version, $required_php_version, '>=' ); 832 if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) 840 if ( !$mysql_compat && !$php_compat ) 841 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 ) ); 842 elseif ( !$php_compat ) 842 elseif ( !$php_compat ) 843 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 ) ); 844 elseif ( !$mysql_compat ) 915 if ( ! is_wp_error( $result ) ) { 916 if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) { 917 $wp_filesystem->delete( $from, true );register.php https://gitlab.com/VoyaTrax/vtCMS3.git | PHP | 324 lines
1<?php 2/* 21 * @author trabis <lusopoemas@gmail.com> 22 * @version $Id: register.php 10408 2012-12-16 18:43:15Z trabis $ 23 */ 24 25include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'header.php'; 26$xoops = Xoops::getInstance(); 28if ($xoops->isUser()) { 29 header('location: userinfo.php?uid= ' . $xoops->user->getVar('uid')); 30 exit(); 33if (!empty($_GET['op']) && in_array($_GET['op'], array('actv', 'activate'))) { 34 header("location: ./activate.php" . (empty($_SERVER['QUERY_STRING']) ? "" : "?" . $_SERVER['QUERY_STRING'])); 35 exit(); 191// If the last step required SAVE or if we're on the last step then we will insert/update user on database 192if ($current_step > 0 && empty($stop) && (!empty($steps[$current_step - 1]['step_save']) || !isset($steps[$current_step]))) { 193update-core.php https://gitlab.com/wturnerharris/WordPress.git | PHP | 893 lines
1<?php 2/** 26'wp-admin/import-mt.php', 27'wp-admin/import-rss.php', 28'wp-admin/import-textpattern.php', 660 661 $php_version = phpversion(); 662 $mysql_version = $wpdb->db_version(); 664 $development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' ) ); // a dash in the version indicates a Development release 665 $php_compat = version_compare( $php_version, $required_php_version, '>=' ); 666 if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) 674 if ( !$mysql_compat && !$php_compat ) 675 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 ) ); 676 elseif ( !$php_compat ) 676 elseif ( !$php_compat ) 677 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 ) ); 678 elseif ( !$mysql_compat )update-core.php https://gitlab.com/zipu888/WordPress.git | PHP | 896 lines
1<?php 2/** 26'wp-admin/import-mt.php', 27'wp-admin/import-rss.php', 28'wp-admin/import-textpattern.php', 663 664 $php_version = phpversion(); 665 $mysql_version = $wpdb->db_version(); 667 $development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' ) ); // a dash in the version indicates a Development release 668 $php_compat = version_compare( $php_version, $required_php_version, '>=' ); 669 if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) 677 if ( !$mysql_compat && !$php_compat ) 678 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 ) ); 679 elseif ( !$php_compat ) 679 elseif ( !$php_compat ) 680 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 ) ); 681 elseif ( !$mysql_compat )chng_update_teams.php https://gitlab.com/zanzilan/alp.git | PHP | 204 lines
1<?php 2require_once 'include/_universal.php'; 5if ($x->is_secure()) { 6 if (empty($_GET)&&empty($_POST)) { 7 $x->display_slim('incorrect usage.','disp_teams.php'); 7 $x->display_slim('incorrect usage.','disp_teams.php'); 8 } elseif (!empty($_POST) && !empty($_POST['id']) && !empty($_POST['teamid']) && !empty($_POST['userid'])) { 9 $tournament = $dbc->database_fetch_assoc($dbc->database_query('SELECT * FROM tournaments WHERE tourneyid='.(int)$_POST['id'])); 11 $allgood = true; 12 if (!empty($_POST['act']) && ((!$tournament['lockstart']) || ($tournament['lockstart'] && $_POST['act']=='cpt')) && !$tournament['lockjoin'] && !$tournament['lockteams'] && $dbc->database_num_rows($team)) { 13 $teaminfo = $dbc->database_fetch_assoc($team); 67 $x->display_slim($str,'disp_teams.php'.(!empty($_POST['id'])?'?id='.$_POST['id']:''),2); 68 } elseif (!empty($_GET) && !empty($_GET['id'])) { 69 $tournament = $dbc->database_fetch_assoc($dbc->database_query('SELECT * FROM tournaments WHERE tourneyid='.(int)$_GET['id'])); 198 } 199 $x->display_slim($str,'disp_teams.php'.(!empty($_GET['id'])?'?id='.$_GET['id']:''),2); 200 } else {Session.php git://github.com/cakephp/cakephp.git | PHP | 651 lines
4/** 5 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) 6 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) 13 * @link https://cakephp.org CakePHP(tm) Project 14 * @since 0.10.0 74 * 75 * - php: just use session as configured in php.ini 76 * - cache: Use the CakePHP caching system as an storage for the session, you will need 178 PHP_VERSION_ID >= 70300 179 && ($name !== 'php' || empty(ini_get('session.cookie_samesite'))) 180 ) { 236 $this->_lifetime = (int)ini_get('session.gc_maxlifetime'); 237 $this->_isCLI = (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg'); 238 session_register_shutdown();card.php git://github.com/Dolibarr/dolibarr.git | PHP | 582 lines
1<?php 2/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> 27 28require '../../main.inc.php'; 29require_once DOL_DOCUMENT_ROOT.'/core/lib/trip.lib.php'; 29require_once DOL_DOCUMENT_ROOT.'/core/lib/trip.lib.php'; 30require_once DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacement.class.php'; 31require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; 31require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; 32if (!empty($conf->projet->enabled)) 33{ 33{ 34 require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; 35} 430 431 $linkback = '<a href="'.DOL_URL_ROOT.'/compta/deplacement/list.php'.(!empty($socid) ? '?socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>'; 432document.php git://github.com/Dolibarr/dolibarr.git | PHP | 197 lines
1<?php 2/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org> 31 32require '../main.inc.php'; 33require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; 33require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; 34require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; 35require_once DOL_DOCUMENT_ROOT.'/core/lib/donation.lib.php'; 35require_once DOL_DOCUMENT_ROOT.'/core/lib/donation.lib.php'; 36require_once DOL_DOCUMENT_ROOT.'/don/class/don.class.php'; 37if (!empty($conf->projet->enabled)) 38{ 39 require_once DOL_DOCUMENT_ROOT.'/core/class/html.formprojet.class.php'; 40 require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; 117 118 $linkback = '<a href="'.DOL_URL_ROOT.'/don/list.php'.(!empty($socid) ? '?socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>'; 119note.php git://github.com/Dolibarr/dolibarr.git | PHP | 139 lines
1<?php 2/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> 27 28require '../main.inc.php'; 29require_once DOL_DOCUMENT_ROOT.'/don/class/don.class.php'; 29require_once DOL_DOCUMENT_ROOT.'/don/class/don.class.php'; 30require_once DOL_DOCUMENT_ROOT.'/core/lib/donation.lib.php'; 31require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; 31require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; 32if (!empty($conf->projet->enabled)) 33{ 33{ 34 require_once DOL_DOCUMENT_ROOT.'/core/class/html.formprojet.class.php'; 35 require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; 87 88 $linkback = '<a href="'.DOL_URL_ROOT.'/don/list.php'.(!empty($socid) ? '?socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>'; 89card.php git://github.com/Dolibarr/dolibarr.git | PHP | 439 lines
1<?php 2/* Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr> 21 */ 22require '../../main.inc.php'; 23require_once DOL_DOCUMENT_ROOT.'/core/lib/hrm.lib.php'; 23require_once DOL_DOCUMENT_ROOT.'/core/lib/hrm.lib.php'; 24require_once DOL_DOCUMENT_ROOT.'/hrm/class/establishment.class.php'; 25require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; 25require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; 26require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php'; 27 51// Load object 52include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php'; // Must be include, not include_once 53 363 364 $linkback = '<a href="'.DOL_URL_ROOT.'/hrm/admin/admin_establishment.php'.(!empty($socid) ? '?socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>'; 365examples.xml https://github.com/ifeghali/phpdocs.git | XML | 1,161 lines
25 construct the Relational DAS. The examples that follow it all assume that 26 this metadata is in an included php file. 27 </para> 50 It is expected that interactions with the database will be separated 51 in time and the data graph serialized and deserialized into the PHP 52 session one or more times as the application interacts with an end user. 83 and foreign keys. It should be fairly easy to understand what is 84 required, and once written it can be placed in a php file and included 85 when needed. The remainder of the information, passed in the second 138 139 <programlisting role="php"> 140<![CDATA[ 140<![CDATA[ 141<?php 142/*****************************************************************PackageManagerDisplay.php https://github.com/nerdystudmuffin/dashlet-subpanels.git | PHP | 604 lines
1<?php 2/********************************************************************************* 40require_once('include/ytree/Tree.php'); 41require_once('include/ytree/Node.php'); 42require_once('ModuleInstall/PackageManager/ListViewPackages.php'); 73 $error_html = ""; 74 if(!empty($mi_errors)){ 75 $error_html = "<tr><td><span>"; 201 } 202 if($form_action == 'install.php' && (empty($releases) || count($releases['packages']) == 0)){ 203 //return false; 223 $output = "<div id='login_panel'><div class='hd'><b>".$mod_strings['HDR_LOGIN_PANEL']."</b></div>"; 224 $output .= "<div class='bd'><form><table><tr><td>".$mod_strings['LBL_USERNAME']."</td><td><input type='text' name='login_panel_username' id='login_panel_username' value='".$credentials['username']."'></td><td><a href='http://www.sugarcrm.com/crm/index.php?option=com_registration&task=register' target='blank'>".$mod_strings['LNK_NEW_ACCOUNT']."</a></td>"; 225 515 $credentials = PackageManager::getCredentials(); 516 if(empty($credentials['username']) || empty($credentials['password'])){ 517 //$header_text = "<font color='red'><b>".$mod_strings['ERR_CREDENTIALS_MISSING']."</b></font>";PackageManagerDisplay.php https://github.com/mitani/dashlet-subpanels.git | PHP | 604 lines
1<?php 2/********************************************************************************* 40require_once('include/ytree/Tree.php'); 41require_once('include/ytree/Node.php'); 42require_once('ModuleInstall/PackageManager/ListViewPackages.php'); 73 $error_html = ""; 74 if(!empty($mi_errors)){ 75 $error_html = "<tr><td><span>"; 201 } 202 if($form_action == 'install.php' && (empty($releases) || count($releases['packages']) == 0)){ 203 //return false; 223 $output = "<div id='login_panel'><div class='hd'><b>".$mod_strings['HDR_LOGIN_PANEL']."</b></div>"; 224 $output .= "<div class='bd'><form><table><tr><td>".$mod_strings['LBL_USERNAME']."</td><td><input type='text' name='login_panel_username' id='login_panel_username' value='".$credentials['username']."'></td><td><a href='http://www.sugarcrm.com/crm/index.php?option=com_registration&task=register' target='blank'>".$mod_strings['LNK_NEW_ACCOUNT']."</a></td>"; 225 515 $credentials = PackageManager::getCredentials(); 516 if(empty($credentials['username']) || empty($credentials['password'])){ 517 //$header_text = "<font color='red'><b>".$mod_strings['ERR_CREDENTIALS_MISSING']."</b></font>";CHANGES https://swig.svn.sourceforge.net/svnroot/swig | Unknown | 6,539 lines
8582009-12-04: olly 859 [PHP] "empty" is a reserved word in PHP, so rename empty() method 860 on STL classes to "is_empty()" (previously this was automatically 11322009-08-14: olly 1133 [PHP] Update the PHP "class" example to work with PHP5 and use 1134 modern wrapping features. 12072009-07-28: olly 1208 [PHP] Update warnings about clashes between identifiers and PHP 1209 keywords and automatic renaming to work with the PHP5 class 12392009-07-02: vmiklos 1240 [PHP] Added factory.i for PHP, see the li_factory testcase 1241 for more info on how to use it. 15532008-12-06: wsfulton 1554 [PHP] Deprecate %pragma(php4). Please use %pragma(php) instead. 1555 The following two warnings have been renamed:CHANGES https://swig.svn.sourceforge.net/svnroot/swig | Unknown | 6,523 lines
7862009-12-04: olly 787 [PHP] "empty" is a reserved word in PHP, so rename empty() method 788 on STL classes to "is_empty()" (previously this was automatically 10602009-08-14: olly 1061 [PHP] Update the PHP "class" example to work with PHP5 and use 1062 modern wrapping features. 11672009-07-02: vmiklos 1168 [PHP] Added factory.i for PHP, see the li_factory testcase 1169 for more info on how to use it. 14812008-12-06: wsfulton 1482 [PHP] Deprecate %pragma(php4). Please use %pragma(php) instead. 1483 The following two warnings have been renamed: 1483 The following two warnings have been renamed: 1484 WARN_PHP4_MULTIPLE_INHERITANCE -> WARN_PHP_MULTIPLE_INHERITANCE 1485 WARN_PHP4_UNKNOWN_PRAGMA -> WARN_PHP_UNKNOWN_PRAGMACHANGES https://swig.svn.sourceforge.net/svnroot/swig | Unknown | 6,510 lines
4342009-12-04: olly 435 [PHP] "empty" is a reserved word in PHP, so rename empty() method 436 on STL classes to "is_empty()" (previously this was automatically 7082009-08-14: olly 709 [PHP] Update the PHP "class" example to work with PHP5 and use 710 modern wrapping features. 11292008-12-06: wsfulton 1130 [PHP] Deprecate %pragma(php4). Please use %pragma(php) instead. 1131 The following two warnings have been renamed: 13772008-07-04: olly 1378 [PHP] For std_vector.i and std_map.i, rename empty() to is_empty() 1379 since "empty" is a PHP reserved word. Based on patch from Mark Klein 151505/09/2008: olly 1516 [PHP] SWIG now runs the PHP testsuite using PHP5, not PHP4. PHP4 1517 is essentially obsolete now, so we care much more about solid PHP5CHANGES https://swig.svn.sourceforge.net/svnroot/swig | Unknown | 6,533 lines
247 [PHP] When using %throws or %catches, SWIG-generated PHP5 wrappers 248 now throw PHP Exception objects instead of giving a PHP error of 249 type E_ERROR. 6232009-12-04: olly 624 [PHP] "empty" is a reserved word in PHP, so rename empty() method 625 on STL classes to "is_empty()" (previously this was automatically 8942009-08-14: olly 895 [PHP] PHP5 now wraps static member variables as documented. 896 8972009-08-14: olly 898 [PHP] Update the PHP "class" example to work with PHP5 and use 899 modern wrapping features. 13182008-12-06: wsfulton 1319 [PHP] Deprecate %pragma(php4). Please use %pragma(php) instead. 1320 The following two warnings have been renamed:DownloadClass.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 207 lines
1<?php 2if (!defined('RAPIDLEECH')) { 51 global $pauth; 52 $page = geturl($Url ['host'], !empty($Url ['port']) ? $Url ['port'] : 80, $Url ['path'] . (!empty($Url ['query']) ? '?' . $Url ['query'] : ''), $referer, $cookie, $post, 0, !empty($_GET ['proxy']) ? $_GET ['proxy'] : '', $pauth, $auth, $Url ['scheme'], 0, $XMLRequest); 53 is_page($page); 79 $params['host'] = urlencode($url['host']); 80 if (!empty($url['port'])) $params['port'] = urlencode($url['port']); 81 $params['path'] = urlencode($url['path'] . (!empty($url['query']) ? '?' . $url['query'] : '')); 99 100 if (!is_file('audl.php') || !empty($options['auto_download_disable'])) html_error('audl.php not found or you have disable auto download feature!'); 101 102 $pos = strrpos($PHP_SELF, '/'); 103 $audlpath = ($pos !== false) ? substr($PHP_SELF, 0, $pos + 1).'audl.php?GO=GO' : 'audl.php?GO=GO'; 104 $inputs = GetDefaultParams(); 168 ?> <script type="text/javascript"> 169 var c = <?php echo $secs; ?>;var text = "<?php echo $text; ?>";var c2 = 0;var dl = document.getElementById("dl");var a2 = document.getElementById("dl2");fc();fc2(); 170 function fc() {