PageRenderTime 1135ms queryFilters 1ms Sphinxql 758ms GetByIds 308ms meta 0ms repositoryFilters 8ms languageFilters 1ms sourceFilters 15ms

34,114 results for 'php ob_start repo:msadouni/cakephp2x' (1135 ms)

Source

Language

Repository

shopCore.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 430 lines
1<?php
2require_once(CORE_DIR.'/kernel.php');
21            $mode_switcher = MODE_SWITCHER;
22            require_once(PLUGIN_DIR.'/functions/'.$switcher.'.php');
23            $switcher = new $mode_switcher;
33
34        if(file_exists(BASE_DIR.'/upgrade.php')){ //review: ????
35            header('HTTP/1.1 503 Service Unavailable',true,503);
35            header('HTTP/1.1 503 Service Unavailable',true,503);
36            require(CORE_DIR.'/func_ext.php');
37            $smarty = &$this->loadModel('system/frontend');
39        }elseif($_POST['api_url'] == 'time_auth'){
40            require(CORE_INCLUDE_DIR.'/shop/core.time_auth.php');
41            core_time_auth($this);
153            $cookieLife = $this->getConf('system.cookie.life');
154            $this->_cookiePath = substr(PHP_SELF, 0, strrpos(PHP_SELF, '/')).'/';
155            $this->_cookieLife = $cookieLife;
shopCore.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 407 lines
1<?php
2require_once(CORE_DIR.'/kernel.php');
21            $mode_switcher = MODE_SWITCHER;
22            require_once(PLUGIN_DIR.'/functions/'.$switcher.'.php');
23            $switcher = new $mode_switcher;
33
34        if(file_exists(BASE_DIR.'/upgrade.php')){ //review: ????
35            header('HTTP/1.1 503 Service Unavailable',true,503);
35            header('HTTP/1.1 503 Service Unavailable',true,503);
36            require(CORE_DIR.'/func_ext.php');
37            $smarty = &$this->loadModel('system/frontend');
39        }elseif($_POST['api_url'] == 'time_auth'){
40            require(CORE_INCLUDE_DIR.'/shop/core.time_auth.php');
41            core_time_auth($this);
137            $cookieLife = $this->getConf('system.cookie.life');
138            $this->_cookiePath = substr(PHP_SELF, 0, strrpos(PHP_SELF, '/')).'/';
139            $this->_cookieLife = $cookieLife;
shopCore.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 417 lines
1<?php
2require_once(CORE_DIR.'/kernel.php');
21            $mode_switcher = MODE_SWITCHER;
22            require_once(PLUGIN_DIR.'/functions/'.$switcher.'.php');
23            $switcher = new $mode_switcher;
33
34        if(file_exists(BASE_DIR.'/upgrade.php')){ //review: ????
35            header('HTTP/1.1 503 Service Unavailable',true,503);
35            header('HTTP/1.1 503 Service Unavailable',true,503);
36            require(CORE_DIR.'/func_ext.php');
37            $smarty = &$this->loadModel('system/frontend');
39        }elseif($_POST['api_url'] == 'time_auth'){
40            require(CORE_INCLUDE_DIR.'/shop/core.time_auth.php');
41            core_time_auth($this);
152            $cookieLife = $this->getConf('system.cookie.life');
153            $this->_cookiePath = substr(PHP_SELF, 0, strrpos(PHP_SELF, '/')).'/';
154            $this->_cookieLife = $cookieLife;
shopCore.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 488 lines
1<?php
2require_once(CORE_DIR.'/kernel.php');
24            $mode_switcher = MODE_SWITCHER;
25            require_once(PLUGIN_DIR.'/functions/'.$switcher.'.php');
26            $switcher = new $mode_switcher;
36
37        if(file_exists(BASE_DIR.'/upgrade.php')){
38            header('HTTP/1.1 503 Service Unavailable',true,503);
38            header('HTTP/1.1 503 Service Unavailable',true,503);
39            require(CORE_DIR.'/func_ext.php');
40            $smarty = &$this->loadModel('system/frontend');
67
68        ob_start();
69        define('IN_SHOP',true);
220            $cookieLife = $this->getConf('system.cookie.life');
221            $this->_cookiePath = substr(PHP_SELF, 0, strrpos(PHP_SELF, '/')).'/';
222            $this->_cookieLife = $cookieLife;
12_like_buttons.php https://bitbucket.org/sweetperceptions/nyey-everyday.git | PHP | 175 lines
1<?php
2function dt_get_soc_link_script( $type = 'twitter' ) {
9	
10	<?php
11	$twitter = ob_get_clean();
12	
13	ob_start();
14	?>
24	
25	<?php
26	$google_plus = ob_get_clean();
27	
28	ob_start();
29	?>
162	<div class="dt-social-buttons dt-window-link">	
163		<a href="<?php echo esc_url($href); ?>" target="_blank" rel="nofollow" onClick="popupWin = window.open(this.href, 'like window', 'location,width=465,height=320,top=0'); popupWin.focus(); return false;"><?php _e('Like!', LANGUAGE_ZONE); ?></a>	
164	</div>
server_med_rec.php https://bitbucket.org/astawiarski/openemr.git | PHP | 432 lines
1<?php
2// +-----------------------------------------------------------------------------+ 
67	require_once("../../library/report.inc");
68	require_once("../../library/classes/Document.class.php");
69	require_once("../../library/classes/Note.class.php");
69	require_once("../../library/classes/Note.class.php");
70	require_once("../../library/formatting.inc.php");
71	require_once("../../custom/code_types.inc.php");
72	     foreach($repArr as $value){
73		    ob_start();
74		    if($type=="profile"){
322		<table>
323		<tr><td width='400' class='bold'><?php echo htmlspecialchars(xl('Code'),ENT_QUOTES);?></td><td class='bold'><?php echo htmlspecialchars(xl('Fee'),ENT_QUOTES);?></td></tr>
324		<?php
398		?>
399		<br><?php echo htmlspecialchars(xl('Text'),ENT_QUOTES);?>:<br><?php echo htmlspecialchars($row{'msg_txt'},ENT_QUOTES);?><br>
400		<?php
server_med_rec.php https://bitbucket.org/DenizYldrm/openemr.git | PHP | 432 lines
1<?php
2// +-----------------------------------------------------------------------------+ 
67	require_once("../../library/report.inc");
68	require_once("../../library/classes/Document.class.php");
69	require_once("../../library/classes/Note.class.php");
69	require_once("../../library/classes/Note.class.php");
70	require_once("../../library/formatting.inc.php");
71	require_once("../../custom/code_types.inc.php");
72	     foreach($repArr as $value){
73		    ob_start();
74		    if($type=="profile"){
322		<table>
323		<tr><td width='400' class='bold'><?php echo htmlspecialchars(xl('Code'),ENT_QUOTES);?></td><td class='bold'><?php echo htmlspecialchars(xl('Fee'),ENT_QUOTES);?></td></tr>
324		<?php
398		?>
399		<br><?php echo htmlspecialchars(xl('Text'),ENT_QUOTES);?>:<br><?php echo htmlspecialchars($row{'msg_txt'},ENT_QUOTES);?><br>
400		<?php
Debug.php http://preader.googlecode.com/svn/trunk/ | PHP | 983 lines
609				if (empty($skip) && self::$logHandle = @fopen($file, 'x')) {
610					ob_start(); // double buffer prevents sending HTTP headers in some PHP
611					ob_start(array(__CLASS__, '_writeFile'), 1);
855			}
856			$arr[] = 'PHP ' . htmlSpecialChars(PHP_VERSION);
857			if (isset($_SERVER['SERVER_SOFTWARE'])) $arr[] = htmlSpecialChars($_SERVER['SERVER_SOFTWARE']);
931		header('X-Wf-Protocol-nette: http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
932		header('X-Wf-nette-Plugin-1: http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.2.0');
933
934		if ($index === 1) {
935			header('X-Wf-nette-Structure-1: http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1');
936
937		} elseif ($index === 2) {
938			header('X-Wf-nette-Structure-2: http://meta.firephp.org/Wildfire/Structure/FirePHP/Dump/0.1');
939		}
recipe-press-core.php http://recipe-press.googlecode.com/svn/trunk/ | PHP | 639 lines
1<?php
2
2
3if ( preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF']) ) {
4     die('You are not allowed to call this page directly.');
7/**
8 * recipe-press-core.php - RecipePress Core Class
9 *
363          if ( is_single ( ) ) {
364               $template_file = get_stylesheet_directory() . '/single-recipe.php';
365          } elseif ( is_archive ( ) ) {
365          } elseif ( is_archive ( ) ) {
366               $template_file = get_stylesheet_directory() . '/archive-recipe.php';
367          } else {
367          } else {
368               $template_file = get_stylesheet_directory() . '/index-recipe.php';
369          }
jfusion.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 1,742 lines
1<?php
2/**
16jimport('joomla.plugin.plugin');
17require_once(JPATH_ADMINISTRATOR .DS.'components'.DS.'com_jfusion'.DS.'models'.DS.'model.factory.php');
18require_once(JPATH_ADMINISTRATOR .DS.'components'.DS.'com_jfusion'.DS.'models'.DS.'model.jfusionpublic.php');
48    *
49    * For php4 compatability we must not use the __constructor as a constructor for
50    * plugins because func_get_args ( void ) returns a copy of all passed arguments
59        if (!class_exists('ContentHelperRoute')) {
60            require_once JPATH_SITE . DS . 'components' . DS . 'com_content' . DS . 'helpers' . DS . 'route.php';
61        }
242        //prevent any output by the plugins (this could prevent cookies from being passed to the header)
243        ob_start();
244
501        if ($this->debug_mode) {
502            require_once(JPATH_ADMINISTRATOR .DS.'components'.DS.'com_jfusion'.DS.'models'.DS.'model.debug.php');
503            ob_start();
Debug.php https://code.google.com/p/celebrio/ | PHP | 964 lines
601				$hash = md5($exception );
602				error_log("PHP Fatal error:  Uncaught $exception");
603				foreach (new \DirectoryIterator(dirname(self::$logFile)) as $entry) {
610				if (empty($skip) && self::$logHandle = @fopen($file, 'x')) {
611					ob_start(); // double buffer prevents sending HTTP headers in some PHP
612					ob_start(array(__CLASS__, '_writeFile'), 1);
839			}
840			$arr[] = 'PHP ' . htmlSpecialChars(PHP_VERSION);
841			if (isset($_SERVER['SERVER_SOFTWARE'])) $arr[] = htmlSpecialChars($_SERVER['SERVER_SOFTWARE']);
915		header('X-Wf-Protocol-nette: http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
916		header('X-Wf-nette-Plugin-1: http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.2.0');
917
919		$index = isset($structures[$struct]) ? $structures[$struct] : ($structures[$struct] = count($structures) + 1);
920		header("X-Wf-nette-Structure-$index: http://meta.firephp.org/Wildfire/Structure/FirePHP/$struct");
921
#.php https://bitbucket.org/nemo_xiaolan/muyou.git | PHP | 139 lines
1<?php
2/**
14 */
15require "lib/func.ob.php";
16//ob_start("ob_gzip");
16//ob_start("ob_gzip");
17ob_start();
18
22
23$C = require "#@.php";
24
24
25require "lib/func.utils.php";
26require "lib/func.common.php";
77$action["name"] = $action["name"] ? $action["name"] : "index";
78$action_file = PROJECT_DIR.DS."actions".DS.$action["group"].DS.$action["name"].".php";
79
Debugger.php https://github.com/stekycz/nette.git | PHP | 668 lines
1<?php
2
181						'tab' => 'NEON',
182						'panel' => BlueScreen::highlightPhp($item['args'][0], $m[1])
183					);
221			}
222			self::$productionMode = !in_array(isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : php_uname('n'), $list, TRUE);
223		}
235		if (self::$logDirectory) {
236			ini_set('error_log', self::$logDirectory . '/php_error.log');
237		}
238
239		// php configuration
240		if (function_exists('ini_set')) {
322			if (empty($saved) && $logHandle = @fopen($exceptionFilename, 'w')) {
323				ob_start(); // double buffer prevents sending HTTP headers in some PHP
324				ob_start(function($buffer) use ($logHandle) { fwrite($logHandle, $buffer); }, 4096);
icwp-wpsf-main.php https://github.com/stackgrinder/wp-simple-firewall.git | PHP | 931 lines
1<?php
2
789		$sRedirectPage = 'index.php';
790		ob_start(); ?>
791			<style>
793			</style>
794			<form id="IcwpTranslationsNotice" method="post" action="admin.php?page=<?php echo $this->getSubmenuId('firewall'); ?>&<?php echo $sMetaFlag; ?>=1">
795				<input type="hidden" value="<?php echo $sRedirectPage; ?>" name="redirect_page" id="redirect_page">
795				<input type="hidden" value="<?php echo $sRedirectPage; ?>" name="redirect_page" id="redirect_page">
796				<input type="hidden" value="1" name="<?php echo $sMetaFlag; ?>" id="<?php echo $sMetaFlag; ?>">
797				<h4 style="margin:10px 0 3px;">
821			<style>a#fromIcwp { padding: 0 5px; border-bottom: 1px dashed rgba(0,0,0,0.1); color: blue; font-weight: bold; }</style>
822			<form id="IcwpUpdateNotice" method="post" action="admin.php?page=<?php echo $this->getSubmenuId('firewall'); ?>&<?php echo $sMetaFlag; ?>=1">
823				<input type="hidden" value="<?php echo $sRedirectPage; ?>" name="redirect_page" id="redirect_page">
823				<input type="hidden" value="<?php echo $sRedirectPage; ?>" name="redirect_page" id="redirect_page">
824				<input type="hidden" value="1" name="<?php echo $sMetaFlag; ?>" id="<?php echo $sMetaFlag; ?>">
825				<p>
Debugger.php https://github.com/lm/nette.git | PHP | 661 lines
1<?php
2
175			}
176			self::$productionMode = !in_array(isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : php_uname('n'), $list, TRUE);
177		}
189		if (self::$logDirectory) {
190			ini_set('error_log', self::$logDirectory . '/php_error.log');
191		}
192
193		// php configuration
194		if (function_exists('ini_set')) {
250							'tab' => 'NEON',
251							'panel' => BlueScreen::highlightPhp($item['args'][0], $m[1])
252						);
367			if (empty($saved) && $logHandle = @fopen($exceptionFilename, 'w')) {
368				ob_start(); // double buffer prevents sending HTTP headers in some PHP
369				ob_start(function($buffer) use ($logHandle) { fwrite($logHandle, $buffer); }, 4096);
FormPersister.php https://github.com/ivan1986/quickfw.git | PHP | 478 lines
1<?php
2/**
12 * Modify HTML-forms adding "value=..." fields to <input> tags according 
13 * to STANDARD PHP $_GET and $_POST variable. Also supported <select> and 
14 * <textarea>.
18 * <?
19 *   require_once 'HTML/FormPersister.php'; 
20 *   ob_start(array('HTML_FormPersister', 'ob_formpersisterhandler'));
51 */
52require_once dirname(__FILE__).'/SemiParser.php';
53 
76	/**
77	 * Static handler for ob_start().
78	 *
79	 * Usage:
80	 *   ob_start(array('HTML_FormPersister', 'ob_formpersisterhandler'));
81	 *
FormPersister.php https://github.com/rigidus/izverg.git | PHP | 451 lines
1<?php
2/**
12 * Modify HTML-forms adding "value=..." fields to <input> tags according 
13 * to STANDARD PHP $_GET and $_POST variable. Also supported <select> and 
14 * <textarea>.
18 * <?
19 *   require_once 'HTML/FormPersister.php'; 
20 *   ob_start(array('HTML_FormPersister', 'ob_formpersisterhandler'));
51 */
52require_once 'HTML/SemiParser.php';
53 
76    /**
77     * Static handler for ob_start().
78     *
79     * Usage:
80     *   ob_start(array('HTML_FormPersister', 'ob_formpersisterhandler'));
81     *
browser.php https://bitbucket.org/dinhtrung/yiicorecms/ | PHP | 873 lines
1<?php
2
9  * @copyright 2010, 2011 KCFinder Project
10  *   @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
11  *   @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
604        $port = 80;
605        $path = "/checkVersion.php";
606
631            (false !== (   $curl = @curl_init($url)                                    )) &&
632            (              @ob_start()                 ||  (@curl_close($curl) && false)) &&
633            (              @curl_exec($curl)           ||  (@curl_close($curl) && false)) &&
845
846        if (file_exists("tpl/tpl_$template.php")) {
847            ob_start();
852                    $eval .= "\$$key=\$_['$key'];";
853            $eval .= "unset(\$_);require \"tpl/tpl_$template.php\";";
854            eval($eval);
Debugger.php https://bitbucket.org/Aurielle/nette.git | PHP | 669 lines
1<?php
2
141		self::$time = microtime(TRUE);
142		self::$consoleMode = PHP_SAPI === 'cli';
143		self::$productionMode = self::DETECT;
249		if (self::$logDirectory) {
250			ini_set('error_log', self::$logDirectory . '/php_error.log');
251		}
252
253		// php configuration
254		if (function_exists('ini_set')) {
315			$exception = $message;
316			$message = "PHP Fatal error: "
317				. ($message instanceof Nette\FatalErrorException
338		if (!empty($exceptionFilename) && $logHandle = @fopen(self::$logDirectory . '/'. $exceptionFilename, 'w')) {
339			ob_start(); // double buffer prevents sending HTTP headers in some PHP
340			ob_start(function($buffer) use ($logHandle) { fwrite($logHandle, $buffer); }, 1);
tiny.php https://bitbucket.org/malguzt/defierro.git | PHP | 74 lines
1<?php
2/*
31define("COMPONENT_TEMPLATE_DIR", 'template/components/');
32define("LAYOUT_FILE", TEMPLATE_DIR . 'layout.php');
33
35 *
36 * @param string $template Nombre de la vista a usar, sin la extención .php
37 * @param array $vars Arreglo con las variables que se quiere pasar a la vista. nombre => valor
46
47    ob_start();
48    include(TEMPLATE_DIR . $template . ".php");
52    if($showLayout) {
53        ob_start();
54        include(LAYOUT_FILE);
65{
66    include(COMPONENT_RUN_DIR . $component . ".php");
67
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21