PageRenderTime 1467ms queryFilters 0ms Sphinxql 900ms GetByIds 382ms meta 0ms repositoryFilters 75ms languageFilters 1ms sourceFilters 35ms

188,587 results for 'php log repo:yelinaung/reborn' (1467 ms)

Source

Language

Repository

logger.php https://bitbucket.org/baruffaldi/website-insaneminds.git | PHP | 103 lines
45                                 
46    if ( __LOG__ ) $loggerDbWriter     = new Zend_Log_Writer_Db( $db, "{$dbParams['logsdbname']}.{$dbParams['tableprefix']}{$dbParams['table_ad_ev_log']}_$serverId", $columnMapping);
47    else $loggerDbWriter     = new Zend_Log_Writer_Null( $db, "{$dbParams['logsdbname']}.{$dbParams['tableprefix']}{$dbParams['table_ad_ev_log']}_$serverId", $columnMapping);
50  //*******************
51    if ( __LOG__ ) $accessWriter = new Zend_Log_Writer_Stream( $accessLogFile );
52    else $accessWriter = new Zend_Log_Writer_Null( $accessLogFile );
52    else $accessWriter = new Zend_Log_Writer_Null( $accessLogFile );
53    if ( __LOG__ ) $errorsWriter = new Zend_Log_Writer_Stream( $errorsLogFile );
54    else $errorsWriter = new Zend_Log_Writer_Null( $errorsLogFile );
54    else $errorsWriter = new Zend_Log_Writer_Null( $errorsLogFile );
55    if ( __LOG__ ) $soapWriter   = new Zend_Log_Writer_Stream( $soapLogFile   );
56    else $soapWriter = new Zend_Log_Writer_Null( $soapLogFile );
76    // We want all loggers inside an array to easily set all event items
77    $loggers      = array( $accessLogger, $errorsLogger, $soapLogger );
78	  
index.php https://github.com/macarthy/tinymce.git | PHP | 941 lines
74if($php_ver_comp < 0) {
75    echo "Wrong php version! You're using PHP version '".phpversion()."', and MODx only works on 4.1.0 or higher."; // $_lang['php_version_check'];
76    exit;
152
153// accesscontrol.php checks to see if the user is logged in. If not, a log in form is shown
154include_once "accesscontrol.inc.php";
900        include_once "header.inc.php";
901        include_once "actions/eventlog_details.dynamic.php";
902        include_once "footer.inc.php";
905        // get the event log delete processor
906        include_once "processors/delete_eventlog.processor.php";
907    break;
933if($action!=1 && $action!=7 && $action!=2) {
934    include_once "log.class.inc.php";
935    $log = new logHandler;
index.php https://github.com/chucktrukk/evolution.git | PHP | 956 lines
75if($php_ver_comp < 0) {
76    echo "Wrong php version! You're using PHP version '".phpversion()."', and MODx only works on 4.1.0 or higher."; // $_lang['php_version_check'];
77    exit;
173
174// accesscontrol.php checks to see if the user is logged in. If not, a log in form is shown
175include_once "accesscontrol.inc.php";
914        include_once "header.inc.php";
915        include_once "actions/eventlog_details.dynamic.php";
916        include_once "footer.inc.php";
919        // get the event log delete processor
920        include_once "processors/delete_eventlog.processor.php";
921    break;
947if($action!=1 && $action!=7 && $action!=2) {
948    include_once "log.class.inc.php";
949    $log = new logHandler;
update.act.php http://awarenet.googlecode.com/svn/trunk/ | PHP | 214 lines
24
25	$repository->addExemption("setup.inc.php");				// dynamically generated on install
26	$repository->addExemption("install.php");				// security risk
26	$repository->addExemption("install.php");				// security risk
27	$repository->addExemption("___install.php");			// security risk
28	$repository->addExemption("ainstall.php");				// security risk
28	$repository->addExemption("ainstall.php");				// security risk
29	$repository->addExemption("phpinfo.php");				// security risk
30	$repository->addExemption("todo.txt");					// security risk
35	$repository->addExemption("GlobalFunctions.txt");		// ?
36	//$repository->addExemption("data/log/");				// logs
37	$repository->addExemption("/chan/");					// not part of awareNet
40	$repository->addExemption('data/log/e');				// ?
41	$repository->addExemption('.log.php');					// log files
42	$repository->addExemption('~');							// gedit revision files
redirect.php https://code.google.com/p/boorl/ | PHP | 27 lines
1<?php
2
3	// Configurations
4	include_once('include/config/config.php');
5	// URL Shortener Class
5	// URL Shortener Class
6	include_once("include/shortener/shortener.php");
7	// Database Singleton
7	// Database Singleton
8	include_once("include/config/database.php");
9	// Log Class
9	// Log Class
10	include_once("include/log/log.php");
11	
20		header('Location: ' . $url);
21		$logger = new Log();
22		$logger->log($key);
howtosa4.php git://pkgs.fedoraproject.org/dvdisaster | PHP | 90 lines
1<?php
2# dvdisaster: English homepage translation
10
11require("../include/dvdisaster.php");
12require("../include/screenshot.php");
20
21<?php begin_screen_shot("Starting actions","action-buttons.png"); ?>
22To start an action in dvdisaster, click on one of the buttons marked green:<p>
28<ul>
29<li>read in <a href="howtos42.php#a">a defective medium</a> for a subsequent recovery.
30<li>read in <a href="howtos23.php?way=1&expand=0">an error-free medium</a> for creating an error
35<td valign="top"><img src="images/create-icon.png"> &nbsp;</td>
36<td><b><a href="howtos20.php">Creating an error correction file</a></b><br>
37(only possible from defect-free media!)</td>
66<td><b>View log file of running action</b> (marked yellow).<br>
67See also: <a href="feedback.php#log">Log file creation</a>.
68</td>
form.lib.php https://bitbucket.org/rajeshwar/osum_by_r.git | PHP | 1,787 lines
16define( 'PHPFMG_SAVE_FILE' , PHPFMG_ROOT_DIR . '/form-data-log.php' ); // save submitted data to this file
17define( 'PHPFMG_EMAILS_LOGFILE' , PHPFMG_ROOT_DIR . '/email-traffics-log.php' ); // log email traffics to this file
18define( 'PHPFMG_ADMIN_URL' , 'admin.php' );
451    if( !isset($_SERVER['HTTP_REFERER']) && phpfmg_ispost() ){
452        appendToFile( PHPFMG_EMAILS_LOGFILE, date("Y-m-d H:i:s") . "\t" . $_SERVER['REMOTE_ADDR'] . " \n phpfmg_ispost " .  join("\n",$debugs)  ) ;    
453        die( PHPFMG_REFERERS_DENIED_MSG );
617    $status = $ok ? "\n[Email sent]" : "\n[Failed to send mail]" ;
618    phpfmg_log_mail( $to, $subject, ($ok ? 'Email sent' : 'Failed to send mail') . "\n" . ($nFound ? $headers  . $txtMsg : $headers . $message), '', $type . $status ); // no log for attachments 
619    
994?>
995    <img id="phpfmg_captcha_image" src="<?php echo $url . time();?>" onClick="this.src='<?php echo $url ;?>'+Math.random();" border=0 style="cursor:pointer;" alt="Click the image to reload.">
996    <a href="http://smvdu.net.in" onClick="document.getElementById('phpfmg_captcha_image').src='<?php echo $url ;?>'+Math.random();return false;" style="color:#474747;" title="Reload Security Image" >Reload Image</a><br>
1499    <meta http-equiv="content-type" content="text/html; charset=<?php echo defined('PHPFMG_CHARSET') ? PHPFMG_CHARSET : 'UTF-8'; ?>">
1500    <meta name="keywords" content="PHP FormMail Generator, Free Form, Form Builder, Form Creator, phpFormMailGen, Customized Web Forms, phpFormMailGenerator,formmail.php, formmail.pl, formMail Generator, ASP Formmail, ASP form, PHP Form, Generator, phpFormGen, phpFormGenerator, anti-spam, web hosting">
1501    <meta name="description" content="PHP formMail Generator - A tool to ceate ready-to-use web forms in a flash">
wplogger.php https://bitbucket.org/andydahl/5star.git | PHP | 309 lines
7 Plugin Name: Wordpress Logger
8 Plugin URI: http://www.turingtarpit.com/2009/05/wordpress-logger-a-plugin-to-display-php-log-messages-in-safari-and-firefox/
9 Description: Displays log messages in the browser console in Safari, Firefox and Opera. Useful for plugin and theme developers to debug PHP code.
40	 
41	 	message_type can be: WPLOG_ERR. WPLOG_WARNING, WPLOG_INFO, WPLOG_DEBUG
42	 	
43	 Example:
44	 	if ($wplogger) $wplogger->log( get_option('active_plugins') );
45	 	
47	 	[Information: from line xxx in file somefile.php] array (
48		  0 => 'wplogger/wplogger.php',
49		  1 => '12seconds-widget/12seconds-widget.php',
156	 * @param const $msgType[optional] type of message. Valid values are:
157	 * 					WPLOG_ERR. WPLOG_WARNING, WPLOG_INFO, WPLOG_DEBUG
158	 */
orders.php https://bitbucket.org/cpoppema/stockpiler.git | PHP | 402 lines
1<?php
2
116        set("body", $body);
117        return html("orders/history.php");
118    }
140        set("title", "New Order");
141        return html("orders/add.php");
142    }
175
176                // Log adding order
177                $entry = R::dispense('log');
203        set("title", "New Order");
204        return html("orders/add.php");
205    }
221            set("type", "order");
222            return html("error/notfound.php");
223        }
LogCenter.php https://bitbucket.org/innoteam/innomatic.git | PHP | 113 lines
57        if (isset($destinations['rootda'])) {
58            $tmp_log = new Logger(InnomaticContainer::instance('innomaticcontainer')->getHome().'core/log/innomatic_root_db.log');
59            $tmp_log->logEvent($context, $eventString, $eventType);
65        if (isset($destinations['webservices'])) {
66            $tmp_log = new Logger(InnomaticContainer::instance('innomaticcontainer')->getHome().'core/log/webservices.log');
67            $tmp_log->logEvent($context, $eventString, $eventType);
74            if (InnomaticContainer::instance('innomaticcontainer')->getState() != InnomaticContainer::STATE_SETUP) {
75                $php_log = InnomaticContainer::instance('innomaticcontainer')->getHome().'core/log/php.log';
76            } else {
78            }
79            $tmp_log = new Logger($php_log);
80            $tmp_log->logEvent($context, $eventString, $eventType);
102        if (isset($destinations['domainda'])) {
103            $tmp_log = new Logger(InnomaticContainer::instance('innomaticcontainer')->getHome().'core/domains/'.InnomaticContainer::instance('innomaticcontainer')->getCurrentDomain()->domaindata['domainid'].'/logs/dataaccess.log');
104            $tmp_log->logEvent($context, $eventString, $eventType);
wplogger.php https://bitbucket.org/cisash/fananeen.git | PHP | 308 lines
7 Plugin Name: Wordpress Logger
8 Plugin URI: http://www.turingtarpit.com/2009/05/wordpress-logger-a-plugin-to-display-php-log-messages-in-safari-and-firefox/
9 Description: Displays log messages in the browser console in Safari, Firefox and Opera. Useful for plugin and theme developers to debug PHP code.
40	 
41	 	message_type can be: WPLOG_ERR. WPLOG_WARNING, WPLOG_INFO, WPLOG_DEBUG
42	 	
43	 Example:
44	 	if ($wplogger) $wplogger->log( get_option('active_plugins') );
45	 	
47	 	[Information: from line xxx in file somefile.php] array (
48		  0 => 'wplogger/wplogger.php',
49		  1 => '12seconds-widget/12seconds-widget.php',
156	 * @param const $msgType[optional] type of message. Valid values are:
157	 * 					WPLOG_ERR. WPLOG_WARNING, WPLOG_INFO, WPLOG_DEBUG
158	 */
file.php https://bitbucket.org/adarshj/convenient_website.git | PHP | 287 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.37 2004/01/19 08:02:40 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
240     * Logs $message to the output window.  The message is also passed along
241     * to any Log_observer instances that are observing this Log.
242     *
245     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
246     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
247     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
275
276        /* Write the log line to the log file. */
277        $success = (fwrite($this->_fp, $line) !== false);
file.php https://bitbucket.org/aradlein/shareplaylists | PHP | 317 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.46 2006/12/07 04:15:02 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
261     * Logs $message to the output window.  The message is also passed along
262     * to any Log_observer instances that are observing this Log.
263     *
266     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
267     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
268     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
301
302        /* Write the log line to the log file. */
303        $success = (fwrite($this->_fp, $line) !== false);
autoloader.class.php https://bitbucket.org/renaatdemuynck/chamilo | PHP | 555 lines
130         'Filesystem' => '/shared/filesystem/filesystem.class.php',
131         'FileLogger' => '/shared/filesystem/file_logger.class.php',
132         'FileProperties' => '/shared/filesystem/file_properties.class.php',
208         'ChamiloTemplateCompiler' => '/shared/html/layout/chamilo_template_compiler.class.php',
209         'Phpbb2TemplateWrapper' => '/shared/html/layout/phpbb2_template_wrapper.class.php',
210         'TemplateCache' => '/shared/html/layout/template_cache.class.php',
290         'Chamilo' => '/shared/ims/chamilo/chamilo.class.php',
291         'Log' => '/shared/ims/chamilo/log.class.php',
292         'OnlineLog' => '/shared/ims/chamilo/log.class.php',
292         'OnlineLog' => '/shared/ims/chamilo/log.class.php',
293         'EmptyLog' => '/shared/ims/chamilo/log.class.php',
294         'ObjectCache' => '/shared/ims/chamilo/object_cache.class.php',
364         'DefaultMail' => '/shared/mail/default/default_mail.class.php',
365         'PhpmailerMail' => '/shared/mail/phpmailer/phpmailer_mail.class.php',
366         'MimeUtil' => '/shared/mime/mime_util.class.php',
file.php https://github.com/MasahiroOzeki/web_crawler.git | PHP | 282 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.36 2004/01/02 02:03:40 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
245     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
246     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
247     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
251     */
252    function log($message, $priority = PEAR_LOG_INFO)
253    {
271
272        /* Write the log line to the log file. */
273        $success = (fwrite($this->_fp, $line) !== false);
file.php https://github.com/JackSpratt/silk.git | PHP | 316 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.46 2006/12/07 04:15:02 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
261     * Logs $message to the output window.  The message is also passed along
262     * to any Log_observer instances that are observing this Log.
263     *
266     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
267     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
268     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
301
302        /* Write the log line to the log file. */
303        $success = (fwrite($this->_fp, $line) !== false);
log.md https://github.com/dprotopopov/tritumana.git | Markdown | 308 lines
7
8The classes included in the Log package are `JLog`, `JLogEntry`,
9`JLogger` as well as the classes `JLoggerDatabase`,
9`JLogger` as well as the classes `JLoggerDatabase`,
10`JLoggerEcho`, `JLoggerFormattedText`, `JLoggerMessageQueue`, `JLoggerSyslog`
11and `JLoggerW3C` which support formatting and storage. Of all these
19messages to be logged to the database, but also set just errors to be
20logged to a file. To do this, you use the `JLog::addLogger` method.
21
282// Add the message.
283JLog::add('Database log', JLog::INFO, 'dblog');
284```
303// Add the message.
304JLog::add(json_encode($log), JLog::INFO, 'dblog');
305```
Ux.php https://bitbucket.org/web3d/uxf | PHP | 303 lines
1<?php
2//内核路径
123                                    else
124                                            throw new UxException('Alias "'.$alias.'" is invalid. Make sure it points to an existing PHP file and the file is readable.');
125                                    self::$_imports[$alias]=$alias;
153                            {
154                                    if(is_file($path.'.php'))
155                                            require($path.'.php');
156                                    else
157                                            throw new UxException('Alias "'.$alias.'" is invalid. Make sure it points to an existing PHP file and the file is readable.');
158                                    self::$_imports[$alias]=$className;
270        //log
271        'UxLogger' => 'log/UxLogger.php',
272        'IUxLogger' => 'log/adapter/IUxLogger.php',
272        'IUxLogger' => 'log/adapter/IUxLogger.php',
273        'UxFileLogger' => 'log/adapter/UxFileLogger.php',
274        'UxDbLogger' => 'log/adapter/UxDbLogger.php',
include_header.php http://thinktankforums.googlecode.com/svn/trunk/ | PHP | 127 lines
1<?php
2/* think tank forums
57            <div class="menu_body">
58                &middot; <a href="search.php">search</a><br />
59                &middot; <a href="editprofile.php">edit your profile</a><br />
59                &middot; <a href="editprofile.php">edit your profile</a><br />
60                &middot; <a href="logout.php">log out</a>
61
65
66    // print login box
67
70    echo <<<EOF
71                log in to {$ttf_cfg["forum_shortname"]}
72            </div>
73            <div class="menu_body">
74                <form action="{$force_https}login.php" method="post">
75                    <div>
import-greymatter.php http://core.svn.wordpress.org/ | PHP | 322 lines
1<?php
2if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. You must install WordPress before you import any entries.");
3
103
104		$loginthere = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '$user_login'");
105		if ($loginthere) {
168				$user_joindate=addslashes($user_joindate);
169				$query = "INSERT INTO $wpdb->users (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser,user_registered,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','0','nickname')";
170				$result = $wpdb->query($query);
266<p>Completed GM 2 WordPress import !</p>
267<p>Now you can go and <a href="wp-login.php">log in</a>, have fun !</p>
268	<?php
281<ul>
282<li>parse gm-counter.cgi (what's the use of that file ?), gm-banlist.cgi, gm-cplog.cgi (you can make a CP log hack if you really feel like it, but I question the need of a CP log)</li>
283<li>import gm-templates. you'll start with the basic template wp.php</li>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21