421,407 results for 'php empty repo:ilyabazhenov/speakplace' (1051 ms)
v1.php https://github.com/cbrunet/sitellite.git | PHP | 1,539 lines
16 * @copyright 1997-2005 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.1 2005/07/02 21:12:31 lux Exp $ 267 * @copyright 1997-2005 The PHP Group 268 * @license http://www.php.net/license/3_0.txt PHP License 3.0 269 * @version Release: 1.4.0a12 1011 PEAR_PACKAGEFILE_ERROR_PHP5 => 1012 'Error, PHP5 token encountered, analysis should be in PHP5', 1013 PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 1113 } 1114 if ($d['type'] == 'php' && !empty($d['name'])) { 1115 $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED, 1116 array('index' => $i, 'name' => $d['name'])); 1117 } elseif ($d['type'] != 'php' && empty($d['name'])) { 1118 $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,Common.php https://github.com/cbrunet/sitellite.git | PHP | 1,553 lines
1<?php 2// 10// | available at through the world-wide-web at | 11// | http://www.php.net/license/2_02.txt. | 12// | If you did not receive a copy of the PHP license and are unable to | 13// | obtain it through the world-wide-web, please send a note to | 14// | license@php.net so we can mail you a copy immediately. | 15// +----------------------------------------------------------------------+ 1064 } 1065 if ($d['type'] == 'php' && !empty($d['name'])) { 1066 $warnings[] = "dependency $i: name ignored for php type dependencies"; 1066 $warnings[] = "dependency $i: name ignored for php type dependencies"; 1067 } elseif ($d['type'] != 'php' && empty($d['name'])) { 1068 $errors[] = "dependency $i: missing name"; 1481 $request .= "Host: $host:$port\r\n". 1482 "User-Agent: PHP/".PHP_VERSION."\r\n"; 1483 if ($proxy_host != '' && $proxy_user != '') {Common.php https://github.com/radicaldesigns/amp.git | PHP | 2,082 lines
503 case 'provides': 504 if (empty($attribs['type']) || empty($attribs['name'])) { 505 break; 1138 } 1139 if ($d['type'] == 'php' && !empty($d['name'])) { 1140 $warnings[] = "dependency $i: name ignored for php type dependencies"; 1140 $warnings[] = "dependency $i: name ignored for php type dependencies"; 1141 } elseif ($d['type'] != 'php' && empty($d['name'])) { 1142 $errors[] = "dependency $i: missing name"; 1401 )) { 1402 PEAR::raiseError('Error: PHP5 packages must be packaged by php 5 PEAR'); 1403 return false; 1780 $request .= "Host: $host:$port\r\n". 1781 "User-Agent: PHP/".PHP_VERSION."\r\n"; 1782 if ($proxy_host != '' && $proxy_user != '') {logic.php https://github.com/cuano/pressmark.git | PHP | 1,300 lines
1<?php 2/** 106 $openid->log->debug('temporary include path for importing = ' . get_include_path()); 107 require_once('Auth/OpenID/Discover.php'); 108 require_once('Auth/OpenID/DatabaseConnection.php'); 108 require_once('Auth/OpenID/DatabaseConnection.php'); 109 require_once('Auth/OpenID/MySQLStore.php'); 110 require_once('Auth/OpenID/Consumer.php'); 563 564 if ($self == 'wp-login.php' && !empty($_POST['openid_url'])) { 565 if (function_exists('wp_signon')) { 780 $wpp = parse_url(get_option('siteurl')); 781 $redirect_to = $wpp['path'] . '/wp-admin/' . (current_user_can('edit_users') ? 'users.php' : 'profile.php') . '?page=openid'; 782 if (function_exists('wp_safe_redirect')) { 1250 1251 $siteurl = function_exists('site_url') ? site_url('/wp-login.php', 'login_post') : get_option('siteurl').'/wp-login.php'; 1252 $xrds = xrds_add_service($xrds, 'main', 'Identity in the Browser Login Service',v1.php https://github.com/stepheneb/test-from-svn.git | PHP | 1,603 lines
16 * @copyright 1997-2006 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.72 2006/10/31 02:54:41 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/griphiam/dumb_php.git | PHP | 1,550 lines
16 * @copyright 1997-2005 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.58 2005/09/11 12:17:48 pajoye Exp $ 267 * @copyright 1997-2005 The PHP Group 268 * @license http://www.php.net/license/3_0.txt PHP License 3.0 269 * @version Release: 1.4.0 1016 PEAR_PACKAGEFILE_ERROR_PHP5 => 1017 'Error, PHP5 token encountered, analysis should be in PHP5', 1018 PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 1118 } 1119 if ($d['type'] == 'php' && !empty($d['name'])) { 1120 $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED, 1121 array('index' => $i, 'name' => $d['name'])); 1122 } elseif ($d['type'] != 'php' && empty($d['name'])) { 1123 $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,v1.php https://github.com/vojtajina/sitellite.git | PHP | 1,539 lines
16 * @copyright 1997-2005 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.1 2005/07/02 21:12:31 lux Exp $ 267 * @copyright 1997-2005 The PHP Group 268 * @license http://www.php.net/license/3_0.txt PHP License 3.0 269 * @version Release: 1.4.0a12 1011 PEAR_PACKAGEFILE_ERROR_PHP5 => 1012 'Error, PHP5 token encountered, analysis should be in PHP5', 1013 PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 1113 } 1114 if ($d['type'] == 'php' && !empty($d['name'])) { 1115 $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED, 1116 array('index' => $i, 'name' => $d['name'])); 1117 } elseif ($d['type'] != 'php' && empty($d['name'])) { 1118 $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,Common.php https://github.com/vojtajina/sitellite.git | PHP | 1,552 lines
1<?php 2// 10// | available at through the world-wide-web at | 11// | http://www.php.net/license/2_02.txt. | 12// | If you did not receive a copy of the PHP license and are unable to | 13// | obtain it through the world-wide-web, please send a note to | 14// | license@php.net so we can mail you a copy immediately. | 15// +----------------------------------------------------------------------+ 1064 } 1065 if ($d['type'] == 'php' && !empty($d['name'])) { 1066 $warnings[] = "dependency $i: name ignored for php type dependencies"; 1066 $warnings[] = "dependency $i: name ignored for php type dependencies"; 1067 } elseif ($d['type'] != 'php' && empty($d['name'])) { 1068 $errors[] = "dependency $i: missing name"; 1481 $request .= "Host: $host:$port\r\n". 1482 "User-Agent: PHP/".PHP_VERSION."\r\n"; 1483 if ($proxy_host != '' && $proxy_user != '') {functions.php https://github.com/neymanna/fusionforge.git | PHP | 4,856 lines
10 11if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER ) && 12 ! empty ( $_SERVER['PHP_SELF'] ) ) { 14} 15if ( ! empty ( $PHP_SELF ) && preg_match ( "/\/includes\//", $PHP_SELF ) ) { 16 die ( "You can't access this file directly!" ); 146// coming from the login.php page. 147if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER['PHP_SELF'] ) ) 148 $PHP_SELF = $_SERVER['PHP_SELF']; // backward compatibility 150 $PHP_SELF = ''; // this happens when running send_reminders.php from CL 151if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) { 152 $GLOBALS["login"] = ""; 376 if ( empty ( $GLOBALS["server_url"] ) ) { 377 if ( ! empty ( $HTTP_HOST ) && ! empty ( $REQUEST_URI ) ) { 378 $ptr = strrpos ( $REQUEST_URI, "/" );functions.php https://github.com/mathieu/fusionforge.git | PHP | 4,856 lines
10 11if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER ) && 12 ! empty ( $_SERVER['PHP_SELF'] ) ) { 14} 15if ( ! empty ( $PHP_SELF ) && preg_match ( "/\/includes\//", $PHP_SELF ) ) { 16 die ( "You can't access this file directly!" ); 146// coming from the login.php page. 147if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER['PHP_SELF'] ) ) 148 $PHP_SELF = $_SERVER['PHP_SELF']; // backward compatibility 150 $PHP_SELF = ''; // this happens when running send_reminders.php from CL 151if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) { 152 $GLOBALS["login"] = ""; 376 if ( empty ( $GLOBALS["server_url"] ) ) { 377 if ( ! empty ( $HTTP_HOST ) && ! empty ( $REQUEST_URI ) ) { 378 $ptr = strrpos ( $REQUEST_URI, "/" );v1.php https://gitlab.com/BGCX261/zigolive-svn-to-git.git | PHP | 1,618 lines
16 * @copyright 1997-2006 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.73 2007/05/10 00:00:38 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://gitlab.com/jamie/ussocialforum.git | PHP | 1,612 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,si-captcha.php https://gitlab.com/javicodigonexo/inblan.git | PHP | 1,322 lines
721 722 if ( empty($username) || empty($password) || isset($_POST['captcha_code']) && empty($_POST['captcha_code'])) { 723 $error = new WP_Error(); 733 $print_error = ($si_captcha_opt['si_captcha_error_error'] != '') ? $si_captcha_opt['si_captcha_error_error'] : __('ERROR', 'si-captcha'); 734 $empty_captcha = ($si_captcha_opt['si_captcha_error_empty'] != '') ? $si_captcha_opt['si_captcha_error_empty'] : __('Empty CAPTCHA', 'si-captcha'); 735 $error->add('empty_captcha', "<strong>$print_error</strong>: $empty_captcha"); 808 if (isset($_POST['captcha_code']) && empty($_POST['captcha_code'])) 809 return ($si_captcha_opt['si_captcha_error_empty'] != '') ? $si_captcha_opt['si_captcha_error_empty'] : __('Empty CAPTCHA', 'si-captcha'); 810 813 if (empty($_POST['captcha_code']) || $_POST['captcha_code'] == '') { 814 return ($si_captcha_opt['si_captcha_error_empty'] != '') ? $si_captcha_opt['si_captcha_error_empty'] : __('Empty CAPTCHA', 'si-captcha'); 815 }else if (!isset($_POST["si_code_$form_id"]) || empty($_POST["si_code_$form_id"])) { 979 //set the $_SESSION cookie into HTTPOnly mode for better security 980 if (version_compare(PHP_VERSION, '5.2.0') >= 0) // supported on PHP version 5.2.0 and higher 981 @ini_set("session.cookie_httponly", 1);functions.php https://gitlab.com/oslc-cm-server/olbergers-ff5-oslc.git | PHP | 5,204 lines
10 11if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER ) && 12 ! empty ( $_SERVER['PHP_SELF'] ) ) { 14} 15if ( ! empty ( $PHP_SELF ) && preg_match ( "/\/includes\//", $PHP_SELF ) ) { 16 die ( "You can't access this file directly!" ); 154// coming from the login.php page. 155if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER['PHP_SELF'] ) ) 156 $PHP_SELF = $_SERVER['PHP_SELF']; // backward compatibility 158 $PHP_SELF = ''; // this happens when running send_reminders.php from CL 159if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) { 160 $GLOBALS["login"] = ""; 392 if ( empty ( $GLOBALS["server_url"] ) ) { 393 if ( ! empty ( $HTTP_HOST ) && ! empty ( $REQUEST_URI ) ) { 394 $ptr = strrpos ( $REQUEST_URI, "/" );functions.php https://gitlab.com/oslc-cm-server/olbergers-ff5-oslc.git | PHP | 4,856 lines
10 11if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER ) && 12 ! empty ( $_SERVER['PHP_SELF'] ) ) { 14} 15if ( ! empty ( $PHP_SELF ) && preg_match ( "/\/includes\//", $PHP_SELF ) ) { 16 die ( "You can't access this file directly!" ); 146// coming from the login.php page. 147if ( empty ( $PHP_SELF ) && ! empty ( $_SERVER['PHP_SELF'] ) ) 148 $PHP_SELF = $_SERVER['PHP_SELF']; // backward compatibility 150 $PHP_SELF = ''; // this happens when running send_reminders.php from CL 151if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) { 152 $GLOBALS["login"] = ""; 376 if ( empty ( $GLOBALS["server_url"] ) ) { 377 if ( ! empty ( $HTTP_HOST ) && ! empty ( $REQUEST_URI ) ) { 378 $ptr = strrpos ( $REQUEST_URI, "/" );Common.php https://gitlab.com/sergeygalin/phpMyLingvo.git | PHP | 2,037 lines
21 22require_once 'PEAR.php'; 23require_once 'Archive/Tar.php'; 507 case 'provides': 508 if (empty($attribs['type']) || empty($attribs['name'])) { 509 break; 1142 } 1143 if ($d['type'] == 'php' && !empty($d['name'])) { 1144 $warnings[] = "dependency $i: name ignored for php type dependencies"; 1144 $warnings[] = "dependency $i: name ignored for php type dependencies"; 1145 } elseif ($d['type'] != 'php' && empty($d['name'])) { 1146 $errors[] = "dependency $i: missing name"; 1736 $request .= "Host: $host:$port\r\n". 1737 "User-Agent: PHP/".PHP_VERSION."\r\n"; 1738 if ($proxy_host != '' && $proxy_user != '') {admin.php https://gitlab.com/sssagar.36/afmc.git | PHP | 943 lines
225 <td> 226 <input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div> 227 <p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p> 234 <fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend> 235 <label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br> 236 <label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label> 329 if ( !$api_key ) :?> 330 <div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php 331 else :?> 331 else :?> 332 <iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php 333 endif;?> 344 global $submenu; 345 echo '<p>'.sprintf( _n( '<a href="%1$s">Akismet</a> has protected your site from <a href="%2$s">%3$s spam comments</a>.', '<a href="%1$s">Akismet</a> has protected your site from <a href="%2$s">%3$s spam comments</a>.', $count ), 'http://akismet.com/?return=true', esc_url( add_query_arg( array( 'page' => 'akismet-admin' ), admin_url( isset( $submenu['edit-comments.php'] ) ? 'edit-comments.php' : 'edit.php' ) ) ), number_format_i18n($count) ).'</p>'; 346}si-captcha.php https://gitlab.com/ughimire/ekabita.git | PHP | 1,322 lines
721 722 if ( empty($username) || empty($password) || isset($_POST['captcha_code']) && empty($_POST['captcha_code'])) { 723 $error = new WP_Error(); 733 $print_error = ($si_captcha_opt['si_captcha_error_error'] != '') ? $si_captcha_opt['si_captcha_error_error'] : __('ERROR', 'si-captcha'); 734 $empty_captcha = ($si_captcha_opt['si_captcha_error_empty'] != '') ? $si_captcha_opt['si_captcha_error_empty'] : __('Empty CAPTCHA', 'si-captcha'); 735 $error->add('empty_captcha', "<strong>$print_error</strong>: $empty_captcha"); 808 if (isset($_POST['captcha_code']) && empty($_POST['captcha_code'])) 809 return ($si_captcha_opt['si_captcha_error_empty'] != '') ? $si_captcha_opt['si_captcha_error_empty'] : __('Empty CAPTCHA', 'si-captcha'); 810 813 if (empty($_POST['captcha_code']) || $_POST['captcha_code'] == '') { 814 return ($si_captcha_opt['si_captcha_error_empty'] != '') ? $si_captcha_opt['si_captcha_error_empty'] : __('Empty CAPTCHA', 'si-captcha'); 815 }else if (!isset($_POST["si_code_$form_id"]) || empty($_POST["si_code_$form_id"])) { 979 //set the $_SESSION cookie into HTTPOnly mode for better security 980 if (version_compare(PHP_VERSION, '5.2.0') >= 0) // supported on PHP version 5.2.0 and higher 981 @ini_set("session.cookie_httponly", 1);v1.php https://gitlab.com/yuryja/oneye.git | PHP | 1,612 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://repo.or.cz/bMailZu.git | PHP | 1,600 lines
16 * @copyright 1997-2006 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.69 2006/03/02 18:14:13 cellog Exp $ 1041 PEAR_PACKAGEFILE_ERROR_PHP5 => 1042 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 1043 PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 1149 } 1150 if ($d['type'] == 'php' && !empty($d['name'])) { 1151 $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED, 1152 array('index' => $i, 'name' => $d['name'])); 1153 } elseif ($d['type'] != 'php' && empty($d['name'])) { 1154 $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME, 1156 } 1157 if ($d['type'] == 'php' && empty($d['version'])) { 1158 $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,