PageRenderTime 1484ms queryFilters 0ms Sphinxql 1217ms app.CodeModel.GetByIds 234ms findMatchingLines 16ms GetByIds 250ms meta 0ms repositoryFilters 8ms languageFilters 3ms sourceFilters 3ms

213,471 results for 'php log repo:skuda/rsslounge' (1484 ms)

Source

Language

Repository

insert1.php https://github.com/gkipkorir/public_html.git | PHP | 156 lines
1<?php session_start(); ?>
2<!DOCTYPE HTML>
9			
10			.logo {
11				position: fixed;
95	<body background=1003background1.png>
96		<div class="logo">
97			<img src=MiddleburyPanther.jpg width="400px" height="145px">		
108					echo "<div class=headerText><a href='./events.php'>Home</a></div>";
109					echo "<div class=headerText><a href='./logout.php'>Logout</a></div>";					
110					echo "<form method='POST' action='insert1.php'> <input type='text' name='Search' >
115				else { 
116					//if session user is not set, show link to log in and to create user
117					$_SESSION['User'] = null;
118					echo "<div class=headerText><a href='./events.php'>Home</a></div>";					
119					echo "<div class=headerText><a href='./login.php'>Log In</a></div>";
120					echo "<form method='POST' action='insert1.php'> <input type='text' name='Search' >
manage.php https://github.com/fligtar/lilliputian.git | PHP | 123 lines
40    </html>
41<?php
42    exit;
68        // Not my finest work!
69        die('<p>Logged out. <a href="'.$base_url.'/manage.php">Log back in?</a></p></body></html>');
70    }
102    
103    <?php while ($item = mysql_fetch_array($items_qry)) { ?>
104        <tr>
105            <td><a href="<?php echo htmlentities($base_url.'/'.$item['key']); ?>"><?php echo htmlentities($item['key']); ?></a></td>
106            <td><a href="<?php echo htmlentities($item['url']); ?>"><?php echo htmlentities($item['url']); ?></a></td>
107            <td><?php echo $item['hits']; ?></td>
119<p>bookmarklet: <a href="javascript:var%20k=window.prompt('key?');window.open('<?php echo $base_url; ?>/manage.php?action=create&amp;key='+k+'&amp;url='+document.location.href);void(0);">lilliput it</a></p>
120<p><a href="manage.php?action=logout">log out</a></p>
121
TestOfTestAuthAPIController.php https://github.com/derekrogerson/ThinkUp.git | PHP | 161 lines
3 *
4 * ThinkUp/tests/TestOfTestAuthAPIController.php
5 *
22 */
23require_once dirname(__FILE__).'/init.tests.php';
24require_once THINKUP_ROOT_PATH.'webapp/_lib/extlib/simpletest/autorun.php';
60        $this->assertPattern('/You must <a href="'.$escaped_site_root_path.
61        'session\/login.php">log in<\/a> to do this./', $results);
62
67        $this->assertPattern('/You must <a href="'.$escaped_site_root_path.
68        'session\/login.php">log in<\/a> to do this./', $results);
69
99        $this->assertPattern('/You must <a href="'.$escaped_site_root_path.
100        'session\/login.php">log in<\/a> to do this./', $results);
101    }
export_log.php https://bitbucket.org/nad2000/mysql-to-google-apps-spreadsheets-data-loader-refresh | PHP | 35 lines
1#!/usr/bin/php -f 
2<?php
3/**
4 * Log table data export into CSV file
5 *
13 */
14function exportLog( $fileName ) {
15
19	{
20		$logId = $row['LogId'];
21		$csv = fopen( $fileName, 'w');
29		fclose($csv);
30		DataSource::storeLastLogId($logId);
31	}
33
34exportLog('log.csv');
35
cleaner.php https://bitbucket.org/kristovaher/wave-framework | PHP | 222 lines
13 * data), 'errors' (clears debugging errors), 'limiter' (clears request data of user agent IP's), 
14 * 'logs' (clears system logs), 'tokens' (clears API session tokens), 'tmp' (clears folder from 
15 * everything that might be stored here), 'data' (clears the folder intended for database 
144			$directory='..'.DIRECTORY_SEPARATOR.'filesystem'.DIRECTORY_SEPARATOR.'limiter'.DIRECTORY_SEPARATOR;
145			$log=array_merge($log,dirCleaner($directory,$cutoff));
146		}
185		if(!empty($log)){
186			// Log is returned in plain text format, every log entry in a separate line
187			echo '<p>';
194		echo '<h2>Modes</h2>';
195		echo '<p><a href="cleaner.php?maintenance&cutoff='.$cutoff.'">Maintenance</a> - Removes all cache, logs, cookie sessions and temporary files</p>';
196		echo '<p><a href="cleaner.php?cache&cutoff='.$cutoff.'">Cache</a> - Removes all cache files</p>';
204		echo '<p><a href="cleaner.php?errors&cutoff='.$cutoff.'">Errors</a> - Debugging errors</p>';
205		echo '<p><a href="cleaner.php?logs&cutoff='.$cutoff.'">Logs</a> - Request logs</p>';
206		echo '<p><a href="cleaner.php?tmp&cutoff='.$cutoff.'">Temporary Files</a> - Temporary files only</p>';
rpx_c.php https://bitbucket.org/crypticrod/sr_wp_code | PHP | 1,373 lines
258
259function rpx_process_clog($clog){
260  global $rpx_comment_actions;
511  if (RPX_VERBOSE == 'true'){
512    error_log('WP-RPX '.$action);/*This will enter every RPX action into your php log (usually apache error log).*/
513  }
946      $wptest = rpx_validate_user($rpx_http_vars['rpx_email'],$rpx_http_vars['rpx_username']);
947      $user_login_result = get_user_by('login', $rpx_http_vars['rpx_username']);
948      if (!is_object($user_login_result)) {
988      wp_set_auth_cookie($current_user->id, $remember);
989      do_action('wp_login', $user->user_login);
990      rpx_set_redirect();
1152    if ( !is_super_admin( $user->ID ) && isset($user->primary_blog) ) {
1153      $details = get_blog_details( $user->primary_blog );
1154      if ( is_object( $details ) && $details->spam == 1 ){
main.php https://bitbucket.org/zeroows/bugitor | PHP | 210 lines
1<?php
2/*
33?>
34<?php
35
51
52    'preload' => array('log', 'maintenanceMode', 'bootstrap'),
53
78        'user' => array(
79            'returnLogoutUrl' => array('/project/index'),
80            'returnUrl' => array('/site/index'),
90            'allowAutoLogin' => true,
91            'loginUrl' => array('/user/login'),
92        ),
99
100        'db' => require(dirname(__FILE__) . '/db.php'),
101
tester.php https://bitbucket.org/hanigamal/my-wave-framework | PHP | 475 lines
1<?php
2
23
24// Log is printed out in plain text format
25header('Content-Type: text/html;charset=utf-8');
48	// These arrays store the test results
49	$testErrorLog=array();
50	$testsRun=array();
59	// Loading State
60	require(__ROOT__.'engine'.DIRECTORY_SEPARATOR.'class.www-state.php');
61	$state=new WWW_State($config);
68		// Including the required class and creating the object
69		require(__ROOT__.'engine'.DIRECTORY_SEPARATOR.'class.www-database.php');
70		$databaseConnection=new WWW_Database($config['test-database-type'],$config['test-database-host'],$config['test-database-name'],$config['test-database-username'],$config['test-database-password'],false,false);
419				echo '<h3>Logged errors</h3>';
420				foreach($testErrorLog as $address=>$log){
421					echo '<p class="bold red small" style="text-align:left;">';
index.php https://github.com/obenauer/equilibrium.git | PHP | 418 lines
80                $userid = $row['user_id'];
81                $login = $row['login'];
82                if ($row['first_name']) {
208                    $userid = $row['user_id'];
209                    $login = $row['login'];
210                    if ($row['first_name']) {
300            $_SESSION['SESSION_USERID'] = $userid;
301            $_SESSION['SESSION_LOGIN'] = $login;
302            $_SESSION['SESSION_USER'] = $fullname;
353            printf("<h2>Authorization Required</h2>\n");
354            printf("<p>You must <a href='index.php'>log in</a> to access this page.  \n");
355            printf("Your session may have timed out.</p>\n");
366            printf("timed out.</p>\n");
367            printf("<a href='index.php'>Log in again</a>\n");
368            printf("</body></html>\n");
sfException.class.php https://github.com/mustdo/www.git | PHP | 346 lines
1<?php
2
20 * @author     Sean Kerr <sean@code-box.org>
21 * @version    SVN: $Id: sfException.class.php 12751 2008-11-08 09:38:42Z fabien $
22 */
61    {
62      // log all exceptions in php log
63      error_log($exception->getMessage());
105
106      if (sfConfig::get('sf_logging_enabled'))
107      {
107      {
108        $dispatcher->notify(new sfEvent($exception, 'application.log', array($exception->getMessage(), 'priority' => sfLogger::ERR)));
109      }
167    $name    = get_class($exception);
168    $traces  = self::getTraces($exception, 'html' != $format || 0 == strncasecmp(PHP_SAPI, 'cli', 3) ? 'plain' : 'html');
169
alias.php https://gitlab.com/cbdfocus/lukas.git | PHP | 23 lines
1<?php
2// +----------------------------------------------------------------------
2// +----------------------------------------------------------------------
3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
4// +----------------------------------------------------------------------
4// +----------------------------------------------------------------------
5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
6// +----------------------------------------------------------------------
14return array(
15    'Model'         => CORE_PATH.'Core/Model.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
17    'Log'          	=> CORE_PATH.'Core/Log.class.php',
18    'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
18    'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
19    'TagLib'        => CORE_PATH.'Template/TagLib.class.php',
20    'Cache'         => CORE_PATH.'Core/Cache.class.php',
alias.php https://gitlab.com/cbdfocus/lukas.git | PHP | 23 lines
1<?php
2// +----------------------------------------------------------------------
2// +----------------------------------------------------------------------
3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
4// +----------------------------------------------------------------------
4// +----------------------------------------------------------------------
5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
6// +----------------------------------------------------------------------
14return array(
15    'Model'         => CORE_PATH.'Core/Model.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
17    'Log'          =>   SAE_PATH.'Lib/Core/Log.class.php',
18    'ThinkTemplate' => SAE_PATH.'Lib/Template/ThinkTemplate.class.php',
18    'ThinkTemplate' => SAE_PATH.'Lib/Template/ThinkTemplate.class.php',
19    'TagLib'        => CORE_PATH.'Template/TagLib.class.php',
20    'Cache'         => CORE_PATH.'Core/Cache.class.php',
modlog.php https://gitlab.com/hub/vbulletin.git | PHP | 330 lines
146					{
147						$name = '<a href="user.php?' . vB::getCurrentSession()->get('sessionurl') . 'do=edit&u=' . $logdata['userid'] . '">' . $logdata['username'] . '</a>';
148						$temp[] = $vbphrase['author'] . ' = ' . $name;
180
181			$cell[] = '<span class="smallfont">' . iif($log['ipaddress'], "<a href=\"usertools.php?" . vB::getCurrentSession()->get('sessionurl') . "do=gethost&ip=$log[ipaddress]\">$log[ipaddress]</a>", '&nbsp;') . '</span>';
182
194// ###################### Start prune log #######################
195if ($_REQUEST['do'] == 'prunelog' AND can_access_logs($vb5_config['SpecialUsers']['canpruneadminlog'], 0, '<p>' . $vbphrase['control_panel_log_pruning_permission_restricted'] . '</p>'))
196{
239		print_table_header($vbphrase['prune_moderator_log']);
240		print_description_row(construct_phrase($vbphrase['are_you_sure_you_want_to_prune_x_log_entries_from_moderator_log'], vb_number_format($logs['total'])));
241		print_submit_row($vbphrase['yes'], 0, 0, $vbphrase['no']);
250// ###################### Start do prune log #######################
251if ($_POST['do'] == 'doprunelog' AND can_access_logs($vb5_config['SpecialUsers']['canpruneadminlog'], 0, '<p>' . $vbphrase['control_panel_log_pruning_permission_restricted'] . '</p>'))
252{
index.php https://gitlab.com/hub/vbulletin.git | PHP | 395 lines
84<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
85<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo vB_Template_Runtime::fetchStyleVar('textdirection'); ?>" lang="<?php echo vB_Template_Runtime::fetchStyleVar('languagecode'); ?>">
86<head>
149<tr valign="middle">
150	<td><b><?php echo $vbphrase['moderator_control_panel']; ?></b> (vBulletin <?php echo $vbulletin->versionnumber; ?>)</td>
151	<td style="white-space:nowrap; text-align:<?php echo vB_Template_Runtime::fetchStyleVar('right'); ?>; font-weight:bold">
151	<td style="white-space:nowrap; text-align:<?php echo vB_Template_Runtime::fetchStyleVar('right'); ?>; font-weight:bold">
152			<a href="<?php echo $forumhomelink; ?>" target="_blank"><?php echo $vbphrase['forum_home_page']; ?></a>
153			|
153			|
154			<a href="index.php?<?php echo vB::getCurrentSession()->get('sessionurl'); ?>do=cplogout" onclick="return confirm('<?php echo $vbphrase['sure_you_want_to_log_out_of_cp']; ?>');"  target="_top"><?php echo $vbphrase['log_out']; ?></a>
155</td>
273<div>
274<img src="../cpstyles/<?php echo $vbulletin->options['cpstylefolder']; ?>/cp_logo.<?php echo $vbulletin->options['cpstyleimageext']; ?>" alt="" border="0" hspace="4" vspace="4" />
275	<?php
service.php https://gitlab.com/qisback/xcat-core.git | PHP | 79 lines
1<?php
2/**
5require_once "lib/srv_functions.php";
6require_once "lib/ui.php";
7require_once "lib/jsonwrapper.php";
17        <link rel="shortcut icon" href="images/favicon.ico">
18        <link href="css/login.css" rel=stylesheet type="text/css">
19        <script type="text/javascript" src="js/jquery/jquery.min.js"></script>
29    <div id="header" class="ui-widget-header">
30        <img style="margin: 0px 20px; position: relative; float: left;" src="images/logo.gif" height="100%"/>
31        <div style="margin: 10px 20px; position: relative; float: left; color: white; font: bold 14px sans-serif;">xCAT Service Portal</div>';
32        
33// Create user name and log out section
34if (isset($_SESSION['srv_username'])){
36        "<div>
37            <span style='padding: 0 6px; color: white; font-weight: bold;'>{$_SESSION['srv_username']}</span> | <a id='xcat_settings'>Settings</a> | <a href='lib/srv_logout.php'>Log out</a>
38        </div>";
alias.php https://gitlab.com/selecterskyphp/58bitao.git | PHP | 23 lines
1<?php
2// +----------------------------------------------------------------------
2// +----------------------------------------------------------------------
3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
4// +----------------------------------------------------------------------
4// +----------------------------------------------------------------------
5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
6// +----------------------------------------------------------------------
14return array(
15    'Model'         => CORE_PATH.'Core/Model.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
17    'Log'          	=> CORE_PATH.'Core/Log.class.php',
18    'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
18    'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
19    'TagLib'        => CORE_PATH.'Template/TagLib.class.php',
20    'Cache'         => CORE_PATH.'Core/Cache.class.php',
alias.php https://gitlab.com/selecterskyphp/ttzhe800.git | PHP | 23 lines
1<?php
2// +----------------------------------------------------------------------
2// +----------------------------------------------------------------------
3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
4// +----------------------------------------------------------------------
4// +----------------------------------------------------------------------
5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
6// +----------------------------------------------------------------------
14return array(
15    'Model'         => CORE_PATH.'Core/Model.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
17    'Log'          	=> CORE_PATH.'Core/Log.class.php',
18    'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
18    'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
19    'TagLib'        => CORE_PATH.'Template/TagLib.class.php',
20    'Cache'         => CORE_PATH.'Core/Cache.class.php',
PKPApplication.inc.php https://gitlab.com/si77/RCS.git | PHP | 493 lines
36		// FIXME: Error logging needs to be suppressed for strict
37		// and deprecation errors in PHP5 as long as we support PHP 4.
38		// This is primarily for static method warnings and warnings
39		// about use of ... =& new ... Static class members cannot be
40		// declared in PHP4 and ... =& new ... is deprecated since PHP 5.
41		$errorReportingLevel = E_ALL;
376	 * Auxiliary function to errorHandler that returns a formatted error message.
377	 * Error type formatting code adapted from ash, http://ca3.php.net/manual/en/function.set-error-handler.php
378	 * @param $errorno string
427			// Back-trace pretty-printer adapted from the following URL:
428			// http://ca3.php.net/manual/en/function.debug-backtrace.php
429			// Thanks to diz at ysagoon dot com
483		$message[] = "   OS: " . Core::serverPHPOS();
484		$message[] = "   PHP Version: " . Core::serverPHPVersion();
485		$message[] = "   Apache Version: " . (function_exists('apache_get_version') ? apache_get_version() : 'N/A');
modlog.php https://gitlab.com/trang1104/portable_project.git | PHP | 426 lines
190			$cell[] = $log['moderatorlogid'];
191			$cell[] = "<a href=\"user.php?" . $vbulletin->session->vars['sessionurl'] . "do=edit&u=$log[userid]\"><b>$log[username]</b></a>";
192			$cell[] = '<span class="smallfont">' . vbdate($vbulletin->options['logdateformat'], $log['dateline']) . '</span>';
237							$celldata .= construct_link_code($log["$sqlfield"], 
238								fetch_seo_url('thread|bburl', $log, array('p' => $log['postid']), 'threadid', 'thread_title') . "#post$log[postid]",
239								true);
264
265			$cell[] = '<span class="smallfont">' . iif($log['ipaddress'], "<a href=\"usertools.php?" . $vbulletin->session->vars['sessionurl'] . "do=gethost&ip=$log[ipaddress]\">$log[ipaddress]</a>", '&nbsp;') . '</span>';
266
278// ###################### Start prune log #######################
279if ($_REQUEST['do'] == 'prunelog' AND can_access_logs($vbulletin->config['SpecialUsers']['canpruneadminlog'], 0, '<p>' . $vbphrase['control_panel_log_pruning_permission_restricted'] . '</p>'))
280{
335// ###################### Start do prune log #######################
336if ($_POST['do'] == 'doprunelog' AND can_access_logs($vbulletin->config['SpecialUsers']['canpruneadminlog'], 0, '<p>' . $vbphrase['control_panel_log_pruning_permission_restricted'] . '</p>'))
337{
index.php https://gitlab.com/trang1104/portable_project.git | PHP | 382 lines
76<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
77<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo vB_Template_Runtime::fetchStyleVar('textdirection'); ?>" lang="<?php echo vB_Template_Runtime::fetchStyleVar('languagecode'); ?>">
78<head>
140<tr valign="middle">
141	<td><a href="http://www.vbulletin.com/" target="_blank"><b><?php echo $vbphrase['moderator_control_panel']; ?></b> (vBulletin <?php echo $vbulletin->versionnumber; ?>)</a></td>
142	<td style="white-space:nowrap; text-align:<?php echo vB_Template_Runtime::fetchStyleVar('right'); ?>; font-weight:bold">
142	<td style="white-space:nowrap; text-align:<?php echo vB_Template_Runtime::fetchStyleVar('right'); ?>; font-weight:bold">
143			<a href="<?php echo $forumhomelink; ?>" target="_blank"><?php echo $vbphrase['forum_home_page']; ?></a>
144			|
144			|
145			<a href="index.php?<?php echo $vbulletin->session->vars['sessionurl']; ?>do=cplogout" onclick="return confirm('<?php echo $vbphrase['sure_you_want_to_log_out_of_cp']; ?>');"  target="_top"><?php echo $vbphrase['log_out']; ?></a>
146</td>
268<div>
269<img src="../cpstyles/<?php echo $vbulletin->options['cpstylefolder']; ?>/cp_logo.gif" alt="" border="0" hspace="4" vspace="4" /><?php
270	echo "</div>\n\n<div style=\"width:168px; padding: 4px\">\n";
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21