PageRenderTime 1189ms queryFilters 61ms Sphinxql 624ms GetByIds 424ms meta 0ms repositoryFilters 46ms languageFilters 1ms sourceFilters 53ms

34,114 results for 'php ob_start repo:doubleface/jelix-jpu' (1189 ms)

Source

Language

Repository

WebStart.php git://pkgs.fedoraproject.org/mediawiki | PHP | 127 lines
76	require( "$IP/includes/DefaultSettings.php" );
77	require( "$IP/includes/templates/PHP4.php" );
78	exit;
80
81# Test for PHP bug which breaks PHP 5.0.x on 64-bit...
82# As of 1.8 this breaks lots of common operations instead
86	echo "PHP 5.0.x is buggy on your 64-bit system; you must upgrade to PHP 5.1.x\n" .
87	     "or higher. ABORTING. (http://bugs.php.net/bug.php?id=34879 for details)\n";
88	exit;
112
113wfProfileIn( 'WebStart.php-ob_start' );
114# Initialise output buffering
121}
122wfProfileOut( 'WebStart.php-ob_start' );
123
WebStart.php.commoncode git://pkgs.fedoraproject.org/mediawiki | Unknown | 134 lines
83	require( "$IP/includes/DefaultSettings.php" );
84	require( "$IP/includes/templates/PHP4.php" );
85	exit;
87
88# Test for PHP bug which breaks PHP 5.0.x on 64-bit...
89# As of 1.8 this breaks lots of common operations instead
93	echo "PHP 5.0.x is buggy on your 64-bit system; you must upgrade to PHP 5.1.x\n" .
94	     "or higher. ABORTING. (http://bugs.php.net/bug.php?id=34879 for details)\n";
95	exit;
119
120wfProfileIn( 'WebStart.php-ob_start' );
121# Initialise output buffering
128}
129wfProfileOut( 'WebStart.php-ob_start' );
130
developer_task.php https://github.com/kuranoglu/gallery3-contrib.git | PHP | 309 lines
1<?php defined("SYSPATH") or die("No direct script access.");
2/**
64    case 6:               // Generate admin controller
65      $file = "{$context['module_path']}/controllers/admin_{$context['module']}.php";
66      ob_start();
75    case 7:               // Generate admin form
76      $file = "{$context['module_path']}/views/admin_{$context['module']}.html.php";
77      ob_start();
86    case 8:               // Generate controller
87      $file = "{$context['module_path']}/controllers/{$context['module']}.php";
88      ob_start();
98    case 9:               // Generate sidebar block view
99      $file = "{$context['module_path']}/views/{$context['module']}_block.html.php";
100      ob_start();
111      $file = "{$context["module_path"]}/module.info";
112      ob_start();
113      $v = new View("module_info.txt");
developer_task.php https://github.com/mp2300/gallery3-contrib.git | PHP | 323 lines
1<?php defined("SYSPATH") or die("No direct script access.");
2/**
60    case 5:               // Generate admin controller
61      $file = "{$context['module_path']}/controllers/admin_{$context['module']}.php";
62      ob_start();
71    case 6:               // Generate admin form
72      $file = "{$context['module_path']}/views/admin_{$context['module']}.html.php";
73      ob_start();
82    case 7:               // Generate controller
83      $file = "{$context['module_path']}/controllers/{$context['module']}.php";
84      ob_start();
94    case 8:               // Generate sidebar block view
95      $file = "{$context['module_path']}/views/{$context['module']}_block.html.php";
96      ob_start();
107      $file = "{$context["module_path"]}/module.info";
108      ob_start();
109      $v = new View("module_info.txt");
phpthumb.php http://cmsfromscratch.googlecode.com/svn/trunk/ | PHP | 471 lines
317	if ($phpthumb->config_nooffsitelink_enabled && @$_SERVER['HTTP_REFERER'] && !in_array(@$parsed_url['host'], $phpthumb->config_nooffsitelink_valid_domains)) {
318		$phpthumb->DebugMessage('Would have used cached (image/'.$phpthumb->thumbnailFormat.') file "'.$phpthumb->cache_filename.'" (Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($phpthumb->cache_filename)).' GMT), but skipping because $_SERVER[HTTP_REFERER] ('.@$_SERVER['HTTP_REFERER'].') is not in $phpthumb->config_nooffsitelink_valid_domains ('.implode(';', $phpthumb->config_nooffsitelink_valid_domains).')', __FILE__, __LINE__);
319	} elseif ($phpthumb->phpthumbDebug) {
324		}
325		if (ereg('^'.preg_quote(str_replace($phpthumb->osslash, '/', $PHPTHUMB_CONFIG['document_root'])).'(.*)$', str_replace($phpthumb->osslash, '/', $phpthumb->cache_filename), $matches)) {
326			$phpthumb->DebugMessage('* Would have sent headers (3): Location: '.dirname($matches[1]).'/'.urlencode(basename($matches[1])), __FILE__, __LINE__);
335		}
336		if (ereg('^'.preg_quote(str_replace($phpthumb->osslash, '/', $PHPTHUMB_CONFIG['document_root'])).'(.*)$', str_replace($phpthumb->osslash, '/', $phpthumb->cache_filename), $matches)) {
337			// BEN HACKED THIS
372	$opacity = (strlen($opacity) ? $opacity : 100);
373	if ($phpthumb->gdimg_source = phpthumb_functions::ImageCreateFunction($phpthumb->w, $phpthumb->h)) {
374		$alpha = (100 - min(100, max(0, $opacity))) * 1.27;
455
456		$phpthumb->DebugMessage('Cannot write to $phpthumb->cache_filename ('.$phpthumb->cache_filename.') because that directory ('.dirname($phpthumb->cache_filename).') is not writable', __FILE__, __LINE__);
457
server_med_rec.php https://git01.codeplex.com/openemr | 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/openemr/openemr.git | PHP | 724 lines
1<?php
2
63            require_once("../../library/report.inc");
64            require_once("../../custom/code_types.inc.php");
65            foreach ($repArr as $value) {
65            foreach ($repArr as $value) {
66                ob_start();
67                if ($type == "profile") {
96            $raw = $data[2];
97            require_once("../../ccr/createCCR.php");
98              ob_start();
310        <table>
311            <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>
312                <?php
382                ?>
383            <br /><?php echo htmlspecialchars(xl('Text'), ENT_QUOTES);?>:<br /><?php echo htmlspecialchars($row['msg_txt'], ENT_QUOTES);?><br />
384                <?php
upgrade.php https://github.com/misterbrandt/chyrp.git | PHP | 1,233 lines
78    function using_yaml() {
79        return (basename(config_file()) != "config.php" and basename(database_file()) != "database.php") or !database_file();
80    }
686     * Function: remove_database_config_file
687     * Removes the database.yaml.php file, which is merged into config.yaml.php.
688     *
1207                <li><?php echo __("Look through the results up there for any failed tasks. If you see any and you can't figure out why, you can ask for help at the <a href=\"http://chyrp.net/community/\">Chyrp Community</a>."); ?></li>
1208                <li><?php echo __("If any of your Modules or Feathers have new versions available for this release, check if an <code>upgrades.php</code> file exists in their main directory. If that file exists, run this upgrader again after enabling the Module or Feather and it will run the upgrade tasks."); ?></li>
1209                <li><?php echo __("When you are done, you can delete this file. It doesn't pose any real threat on its own, but you should delete it anyway, just to be sure."); ?></li>
1214                <li><?php echo __("As of v2.0, Chyrp uses time zones to determine timestamps. Please set your installation to the correct timezone at <a href=\"admin/index.php?action=general_settings\">General Settings</a>."); ?></li>
1215                <li><?php echo __("Check the group permissions &ndash; they might have changed, and certain Admin functionality would be disabled until you enabled the permissions for the particular groups. <a href=\"admin/index.php?action=manage_groups\">Manage Groups &rarr;</a>"); ?></li>
1216            </ul>
1216            </ul>
1217            <a class="big" href="<?php echo (Config::check("url") ? Config::get("url") : Config::get("chyrp_url")); ?>"><?php echo __("All done!"); ?></a>
1218<?php else: ?>
storefront.php https://bitbucket.org/sanders_nick/legacy-media.git | PHP | 1,018 lines
1<?php
2/**
322		ob_start();
323		$templates = array('category.php','collection.php');
324		$ids = array('slug','id');
326			if (isset(ShoppCollection()->$property)) $id = ShoppCollection()->$property;
327			array_unshift($templates,'category-'.$id.'.php','collection-'.$id.'.php');
328		}
658		foreach ($reversed as $template) {
659			list($basename,$php) = explode('.',$template);
660			if (!empty($Product->slug)) array_unshift($idslugs,"$basename-$Product->slug.$php");
812				ob_start();
813				locate_shopp_template(array('sideproduct-'.$Shopp->Product->id.'.php','sideproduct.php'),true);
814				$content .= ob_get_contents();
841
842			$template = locate_shopp_template(array('sideproduct-'.$Shopp->Category->slug.'.php','sideproduct.php'));
843			ob_start();
class-user-meta-display.php https://github.com/lamegaurbana2014/user-meta-display.git | PHP | 598 lines
1<?php
2/**
222			$slug = array_search( $screen->id, $this->plugin_screen_hook_suffix );
223			//$configfiles = glob( self::get_path( __FILE__ ) .'configs/'.$slug.'-*.php' );
224			if(file_exists(self::get_path( __FILE__ ) .'configs/fieldgroups-'.$slug.'.php')){
224			if(file_exists(self::get_path( __FILE__ ) .'configs/fieldgroups-'.$slug.'.php')){
225				include self::get_path( __FILE__ ) .'configs/fieldgroups-'.$slug.'.php';
226			}else{
309
310			//$configfiles = glob(self::get_path( __FILE__ ) .'configs/*.php');
311			if(file_exists(self::get_path( __FILE__ ) .'configs/fieldgroups-user_meta_display.php')){
311			if(file_exists(self::get_path( __FILE__ ) .'configs/fieldgroups-user_meta_display.php')){
312				include self::get_path( __FILE__ ) .'configs/fieldgroups-user_meta_display.php';		
313			}else{
403
404		//$configfiles = glob(self::get_path( __FILE__ ) .'configs/'.$slug.'-*.php');
405		if(file_exists(self::get_path( __FILE__ ) .'configs/fieldgroups-'.$slug.'.php')){
controller.class.php https://github.com/acurrieclark/clocktower.git | PHP | 373 lines
1<?php
2
90		if ($type == 'ajax') {
91			ob_start();
92			$this->request_type = 'ajax';
203
204		include(ROOT . DS . 'library/vendor/CssToInlineStyles/CssToInlineStyles.php');
205
205
206		ob_start();
207
207
208		include(ROOT.DS.'application/views/mailers/'.$template.'.php');
209
211
212		ob_start();
213
ajax.users.php https://github.com/JoshuaGarrison27/osTicket-1.8.git | PHP | 454 lines
1<?php
2/*********************************************************************
2/*********************************************************************
3    ajax.users.php
4
19
20include_once(INCLUDE_DIR.'class.ticket.php');
21require_once INCLUDE_DIR.'class.note.php';
93                );
94        ob_start();
95        echo sprintf('<div style="width:650px; padding: 2px 2px 0 5px;"
96                id="u%d">', $user->getId());
97        include(STAFFINC_DIR . 'templates/user.tmpl.php');
98        echo '</div>';
119
120        include(STAFFINC_DIR . 'templates/user.tmpl.php');
121    }
tj-accounts.functions.php https://github.com/adamcarlile/Alex-Goy.git | PHP | 484 lines
1<?php
2
36
37	include_once( ABSPATH . '/wp-includes/registration.php' );
38
160
161	if( file_exists( $file = get_stylesheet_directory() . '/email.register.php' ) ) {
162		ob_start();
165		ob_end_clean();
166	} elseif( file_exists( $file = 'tt-accounts.email.register.php' ) ) {
167		ob_start();
267
268	//grab the retrieve password function from wp-login.php
269	ob_start();
269	ob_start();
270	include_once( trailingslashit(ABSPATH) . 'wp-login.php' );
271	ob_end_clean();
views.core.php https://bitbucket.org/securebucket/arch-php.git | PHP | 197 lines
1<?php
2
4  http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
5  @author     Arch PHP - Richard Wagener <code@securebucket.com>
6
6
7  http://archphp.org/docs#4eb6e35011aec61146000006
8 */
46     * loaded.
47     * @param <string> $path        file to render e.g '_core/template.php'
48     * @param <array|string> $data  content used in the file called.
72            $path .= '';
73        elseif (substr($path, -4) != '.php')
74            $path .= '.php';
75
76        ob_start();
77        include(DIR_VIEWS . $path);
Debug.php https://github.com/bazo/Mokuji.git | PHP | 968 lines
1<?php
2
85		'X-Mailer' => 'Nette Framework',
86		'Subject' => 'PHP: An error occurred on the server %host%',
87		'Body' => '[%date%] %message%',
108
109	/**#@+ FirePHP log priority */
110	const LOG = 'LOG';
612				if (empty($skip) && self::$logHandle = @fopen($file, 'w')) {
613					ob_start(); // double buffer prevents sending HTTP headers in some PHP
614					ob_start(array(__CLASS__, '_writeFile'), 1);
877		header('X-Wf-Protocol-nette: http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
878		header('X-Wf-nette-Plugin-1: http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.2.0');
879
881		$index = isset($structures[$struct]) ? $structures[$struct] : ($structures[$struct] = count($structures) + 1);
882		header("X-Wf-nette-Structure-$index: http://meta.firephp.org/Wildfire/Structure/FirePHP/$struct");
883
WebStart.php https://github.com/tav/confluence.git | PHP | 131 lines
80	require( "$IP/includes/DefaultSettings.php" );
81	require( "$IP/includes/templates/PHP4.php" );
82	exit;
84
85# Test for PHP bug which breaks PHP 5.0.x on 64-bit...
86# As of 1.8 this breaks lots of common operations instead
90	echo "PHP 5.0.x is buggy on your 64-bit system; you must upgrade to PHP 5.1.x\n" .
91	     "or higher. ABORTING. (http://bugs.php.net/bug.php?id=34879 for details)\n";
92	exit;
116
117wfProfileIn( 'WebStart.php-ob_start' );
118# Initialise output buffering
125}
126wfProfileOut( 'WebStart.php-ob_start' );
127
WebStart.php https://bitbucket.org/kgrashad/thawrapedia | PHP | 142 lines
1<?php
2/**
55# Please don't move this line to includes/Defines.php. This line essentially
56# defines a valid entry point. If you put it in includes/Defines.php, then
57# any script that includes it becomes an entry point, thereby defeating
71# Start profiler
72if( file_exists("$IP/StartProfiler.php") ) {
73	require_once( "$IP/StartProfiler.php" );
87	require( "$IP/includes/DefaultSettings.php" );
88	require( "$IP/includes/templates/PHP4.php" );
89	exit;
126
127wfProfileIn( 'WebStart.php-ob_start' );
128# Initialise output buffering
135}
136wfProfileOut( 'WebStart.php-ob_start' );
137
WebStart.php https://bitbucket.org/brunodefraine/mediawiki | PHP | 160 lines
1<?php
2/**
74# Valid web server entry point, enable includes.
75# Please don't move this line to includes/Defines.php. This line essentially
76# defines a valid entry point. If you put it in includes/Defines.php, then
93	# Get MWInit class
94	require_once( "$IP/includes/Init.php" );
95
96	# Start the autoloader, so that extensions can derive classes from core files
97	require_once( "$IP/includes/AutoLoader.php" );
98
142
143wfProfileIn( 'WebStart.php-ob_start' );
144# Initialise output buffering
153}
154wfProfileOut( 'WebStart.php-ob_start' );
155
formpersister.php http://goodgirl.googlecode.com/svn/ | PHP | 450 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'));
52
53//include 'html_semiparser.php';
54
77    /**
78     * Static handler for ob_start().
79     *
80     * Usage:
81     *   ob_start(array('HTML_FormPersister', 'ob_formpersisterhandler'));
82     *
getResult.php https://github.com/amir-noori/grape.git | PHP | 127 lines
1<?php
2    
4    
5    require_once(dirname(__FILE__) . '/../tag/tag.php');
6    require_once(dirname(__FILE__) . '/../../../src/db/DB.class.php');
28            $site = DB::executeQuery($query , true);
29            ob_start(); // begin collecting output
30            include dirname(__FILE__) . '/about.tpl';    
39        {
40            ob_start(); // begin collecting output
41            include dirname(__FILE__) . '/contact.tpl';    
91            $args = array('siteURL' => $path4 , 'showForums' => true);
92            require_once(dirname(__FILE__) . '/../../../modules/forum/main.php');
93            ob_start(); // begin collecting output
109            $args = array('siteURL' => $path4 , 'forumID' => $_POST['forumID'] , 'forumData' => true);
110            require_once(dirname(__FILE__) . '/../../../modules/forum/main.php');
111            ob_start(); // begin collecting output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21